- indexOf
Returns the index of the first occurrence of the given value in the given Object
array. If the value
- bytesToShort
Translates up to the first 2 bytes of a byte array to a short. If there are
fewer than 2 bytes avail
- unpackBytes
Translates nBytes of the given long and places the result in the given byte
array.
- bytesToInt
Translates up to the first 4 bytes of a byte array to an int. If there are fewer
than 4 bytes availa
- makeDataArray
Convert a byte array to the appropriate 1D primitive type array.
- safeMultiply32
Checks that the product of the given sizes does not exceed the 32-bit integer
limit (i.e., Integer#M
- swap
Reverse the order of bytes in the given short.
- bytesToDouble
Translates up to the first 8 bytes of a byte array to a double. If there are
fewer than 8 bytes avai
- bytesToLong
Translates up to the first 8 bytes of a byte array to a long. If there are fewer
than 8 bytes availa
- containsValue
Returns true if the given value is contained in the given array.
- readFile
Reads the contents of the given file into a string.
- allocate
Allocates a 1-dimensional byte array matching the product of the given sizes.