put
Put a Boolean into the buffer at writePosition . Booleans as stored as single byte. Write position will be incremented.
Return
Boolean element
Put an array of bytes into the buffer at writePosition. Write position will be incremented.
Parameters
the data to be copied
initial position on value to be copied
amount of bytes to be copied
Put an array of bytes into the buffer at writePosition. Write position will be incremented.
Parameters
ReadBuffer the data to be copied
initial position on value to be copied
amount of bytes to be copied
Write a Byte into the buffer at writePosition. Write position will be incremented.
Write a UByte into the buffer at writePosition. Write position will be incremented.
Write a Short into in the buffer at writePosition. Write position will be incremented.
Write a UShort into in the buffer at writePosition. Write position will be incremented.
Write a Int in the buffer at writePosition. Write position will be incremented.
Write a UInt into in the buffer at writePosition. Write position will be incremented.
Write a Long into in the buffer at writePosition. Write position will be incremented.
Write a ULong into in the buffer at writePosition. Write position will be incremented.
Write a 32-bit Float into the buffer at writePosition. Write position will be incremented.
Write a 64-bit Double into the buffer at writePosition. Write position will be incremented.
Write a String encoded as UTF-8 into the buffer at writePosition. Write position will be incremented.
Return
size in bytes of the encoded string