put

fun put(x: Boolean)

Add a boolean to the buffer, backwards from the current location. Doesn't align nor check for space.

Parameters

x

A boolean to put into the buffer.


fun put(x: UByte)

Add a UByte to the buffer, backwards from the current location. Doesn't align nor check for space.

Parameters

x

A UByte to put into the buffer.


fun put(x: Byte)

Add a Byte to the buffer, backwards from the current location. Doesn't align nor check for space.

Parameters

x

A Byte to put into the buffer.


fun put(x: UShort)

Add a UShort to the buffer, backwards from the current location. Doesn't align nor check for space.

Parameters

x

A UShort to put into the buffer.


fun put(x: Short)

Add a Short to the buffer, backwards from the current location. Doesn't align nor check for space.

Parameters

x

A Short to put into the buffer.


fun put(x: UInt)

Add an UInt to the buffer, backwards from the current location. Doesn't align nor check for space.

Parameters

x

An UInt to put into the buffer.


fun put(x: Int)

Add an Int to the buffer, backwards from the current location. Doesn't align nor check for space.

Parameters

x

An Int to put into the buffer.


fun put(x: ULong)

Add a ULong to the buffer, backwards from the current location. Doesn't align nor check for space.

Parameters

x

A ULong to put into the buffer.


fun put(x: Long)

Add a Long to the buffer, backwards from the current location. Doesn't align nor check for space.

Parameters

x

A Long to put into the buffer.


fun put(x: Float)

Add a Float to the buffer, backwards from the current location. Doesn't align nor check for space.

Parameters

x

A Float to put into the buffer.


fun put(x: Double)

Add a Double to the buffer, backwards from the current location. Doesn't align nor check for space.

Parameters

x

A Double to put into the buffer.