Convert Kite built-ins to binary and vice versa.
make interface.text.binary(direction)
: Construct object.BIG_ENDIAN
: Big endian byte order.LITTLE_ENDIAN
: Little endian byte order._direction
: What byte ordering are we using?bytes_to_integer(number, bytes, signed)
: Convert integer to byte array.from_int16(str)
: Convert binary to 16-bit integer.from_int32(str)
: Convert binary to 32-bit integer.from_int8(str)
: Convert binary to 8-bit integer.from_uint16(str)
: Convert binary to 16-bit unsigned integer.from_uint32(str)
: Convert binary to 32-bit unsigned integer.from_uint8(str)
: Convert binary to 8-bit unsigned integer.integer_to_bytes(number, bytes, signed)
: Convert integer to byte array.to_int16(number)
: Convert integer to two-byte character sequence.to_int32(number)
: Convert integer to four-byte character sequence.to_int8(number)
: Convert integer to single-byte character.to_uint16(number)
: Convert integer to two-byte character sequence.to_uint32(number)
: Convert integer to four-byte character sequence.to_uint8(number)
: Convert integer to single-byte character.