interface SingleValueEncodingContainer
source · line 66public
public interface SingleValueEncodingContainer
The format backend's scalar and explicit-null operations. Supported representations and conversion errors belong to the backend.
function writeNull
source · line 94public
public fun writeNull(): Unit
Writes an explicit null.
function writeString
source · line 90public
public fun writeString(value: String): Unit
Writes one String scalar using the backend's representation rules.
parameter value
source · line 90public
value: String
function writeULong
source · line 78public
public fun writeULong(value: ULong): Unit
Writes one ULong scalar using the backend's representation rules.
parameter value
source · line 78public
value: ULong
function writeLong
source · line 74public
public fun writeLong(value: Long): Unit
Writes one Long scalar using the backend's representation rules.
parameter value
source · line 74public
value: Long
function writeBoolean
source · line 70public
public fun writeBoolean(value: Boolean): Unit
Writes one Boolean scalar using the backend's representation rules.
parameter value
source · line 70public
value: Boolean
function writeFloat
source · line 82public
public fun writeFloat(value: Float): Unit
Writes one Float scalar using the backend's representation rules.
parameter value
source · line 82public
value: Float
function writeDouble
source · line 86public
public fun writeDouble(value: Double): Unit
Writes one Double scalar using the backend's representation rules.
parameter value
source · line 86public
value: Double