- tail(byte[], int) - Static method in class co.cask.common.Bytes
-
Returns last length bytes from byte array.
- toBigDecimal(byte[]) - Static method in class co.cask.common.Bytes
-
Converts a byte array to a BigDecimal.
- toBigDecimal(byte[], int, int) - Static method in class co.cask.common.Bytes
-
Converts a byte array to a BigDecimal value.
- toBinaryFromHex(byte) - Static method in class co.cask.common.Bytes
-
Takes a ASCII digit in the range A-F0-9 and returns
the corresponding integer/ordinal value.
- toBoolean(byte[]) - Static method in class co.cask.common.Bytes
-
- toByteArrays(String[]) - Static method in class co.cask.common.Bytes
-
Returns an array of byte arrays made from passed array of Text.
- toByteArrays(String) - Static method in class co.cask.common.Bytes
-
Returns an array of byte arrays where first and only entry is.
- toByteArrays(byte[]) - Static method in class co.cask.common.Bytes
-
Returns an array of byte arrays where first and only entry is.
- toBytes(ByteBuffer) - Static method in class co.cask.common.Bytes
-
Returns a new byte array, copied from the passed ByteBuffer.
- toBytes(String) - Static method in class co.cask.common.Bytes
-
Converts a string to a UTF-8 byte array.
- toBytes(boolean) - Static method in class co.cask.common.Bytes
-
Convert a boolean to a byte array.
- toBytes(long) - Static method in class co.cask.common.Bytes
-
Convert a long value to a byte array using big-endian.
- toBytes(float) - Static method in class co.cask.common.Bytes
-
- toBytes(double) - Static method in class co.cask.common.Bytes
-
Serialize a double as the IEEE 754 double format output.
- toBytes(int) - Static method in class co.cask.common.Bytes
-
Convert an int value to a byte array.
- toBytes(short) - Static method in class co.cask.common.Bytes
-
- toBytes(BigDecimal) - Static method in class co.cask.common.Bytes
-
Convert a BigDecimal value to a byte array.
- toBytesBinary(String) - Static method in class co.cask.common.Bytes
-
- toDouble(byte[]) - Static method in class co.cask.common.Bytes
-
Return double made from passed bytes.
- toDouble(byte[], int) - Static method in class co.cask.common.Bytes
-
Return double made from passed bytes.
- toFloat(byte[]) - Static method in class co.cask.common.Bytes
-
Presumes float encoded as IEEE 754 floating-point "single format".
- toFloat(byte[], int) - Static method in class co.cask.common.Bytes
-
Presumes float encoded as IEEE 754 floating-point "single format".
- toHexString(byte[]) - Static method in class co.cask.common.Bytes
-
Returns a string containing each byte, in order, as a two-digit unsigned
hexadecimal number in lower case.
- toInt(byte[]) - Static method in class co.cask.common.Bytes
-
Converts a byte array to an int value.
- toInt(byte[], int) - Static method in class co.cask.common.Bytes
-
Converts a byte array to an int value.
- toInt(byte[], int, int) - Static method in class co.cask.common.Bytes
-
Converts a byte array to an int value.
- toLong(byte[]) - Static method in class co.cask.common.Bytes
-
Converts a byte array to a long value.
- toLong(byte[], int) - Static method in class co.cask.common.Bytes
-
Converts a byte array to a long value.
- toLong(byte[], int, int) - Static method in class co.cask.common.Bytes
-
Converts a byte array to a long value.
- toShort(byte[]) - Static method in class co.cask.common.Bytes
-
Converts a byte array to a short value.
- toShort(byte[], int) - Static method in class co.cask.common.Bytes
-
Converts a byte array to a short value.
- toShort(byte[], int, int) - Static method in class co.cask.common.Bytes
-
Converts a byte array to a short value.
- toString(byte[]) - Static method in class co.cask.common.Bytes
-
This method will convert utf8 encoded bytes into a string.
- toString(byte[], String, byte[]) - Static method in class co.cask.common.Bytes
-
Joins two byte arrays together using a separator.
- toString(byte[], int, int) - Static method in class co.cask.common.Bytes
-
This method will convert utf8 encoded bytes into a string.
- toString(ByteBuffer) - Static method in class co.cask.common.Bytes
-
This method will convert the remaining bytes of a UTF8
encoded byte buffer into a string.
- toString() - Method in class co.cask.common.ImmutablePair
-
- toStringBinary(byte[]) - Static method in class co.cask.common.Bytes
-
Write a printable representation of a byte array.
- toStringBinary(ByteBuffer) - Static method in class co.cask.common.Bytes
-
Converts the given byte buffer, from its array offset to its limit, to
a string.
- toStringBinary(byte[], int, int) - Static method in class co.cask.common.Bytes
-
Write a printable representation of a byte array.