Package com.google.common.hash
Interface LittleEndianByteArray.LittleEndianBytes
-
- All Known Implementing Classes:
LittleEndianByteArray.JavaLittleEndianBytes
,LittleEndianByteArray.UnsafeByteArray
- Enclosing class:
- LittleEndianByteArray
private static interface LittleEndianByteArray.LittleEndianBytes
Common interface for retrieving a 64-bit long from a little-endian byte array. This abstraction allows us to use single-instruction load and put when available, or fall back on the slower approach of using Longs.fromBytes(byte...).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getLongLittleEndian(byte[] array, int offset)
void
putLongLittleEndian(byte[] array, int offset, long value)
-