sdk-common / com.tomtom.online.sdk.common.util / Bytes

Bytes

class Bytes

Utility methods for operations on bytes.

Functions

from

static fun from(value: Long): ByteArray!

Returns a big-endian representation of value in an 8-element byte array

static fun from(value: Int): ByteArray!

Returns a big-endian representation of value in an 4-element byte array

static fun from(value: Short): ByteArray!

Returns a big-endian representation of value in an 2-element byte array