- <init>
- getBytes
Returns a copy of the byte array.
- length
Returns the number of bytes in this byte string.
- substring
Returns a ByteString that consists of a given range.
- indexOf
Returns the position at which seek first occurs in this byte string, starting at
the specified index
- toString
Returns the given byte array in hexadecimal format.For example, toString(new byte[] {0xDE, 0xAD}) re
- compareTo
- concat
Returns a ByteString consisting of the concatenation of this and another string.
- toBase64String
Returns this byte string in Base64 format.
- ofBase64
Creates a byte string from a Base64 string.
- decodeHex
- of
Creates a byte string from a hexadecimal or binary string.For example, of("DEAD", 16) returns the sa