toByteArray
Encodes a Double into a ByteArray
Return
Parameters
ByteOrder to use for encoding.
Encodes a Float into a ByteArray
Return
Parameters
ByteOrder to use for encoding.
Encodes this Int24 into a ByteArray.
Return
the encoded ByteArray.
Parameters
Encodes this Int into a ByteArray.
Return
the encoded ByteArray.
Parameters
Encodes this Long into a ByteArray.
Return
the encoded ByteArray.
Parameters
Encodes this MedFloat16 into a ByteArray.
Return
the encoded ByteArray.
Encodes this MedFloat32 into a ByteArray.
Return
the encoded ByteArray.
Encodes this Short into a ByteArray.
Return
the encoded ByteArray.
Parameters
Encodes a String to a ByteArray using the given StringEncodingSettings and ByteOrder.
Return
The encoded ByteArray
Parameters
the StringEncodingSettings to apply to the encoding.
the ByteOrder to use. When passing ByteOrder.MOST_SIGNIFICANT_FIRST the first character will be at the end of the array.
Throws
if the string contains a null character and StringEncodingSettings.NullTerminated is used, or if the length of the string cannot be encoded by StringEncodingSettings.LengthPrefix
Encodes this UByte into a ByteArray.
Encodes this UInt24 into a ByteArray.
Return
the encoded ByteArray.
Parameters
Encodes this UInt into a ByteArray.
Return
the encoded ByteArray.
Parameters
Encodes this ULong into a ByteArray.
Return
the encoded ByteArray.