public final class ByteArrayAccessStrategy extends Object implements ByteAccessStrategy<byte[]>
ByteAccessStrategy for Java byte arrays.| Modifier and Type | Field and Description |
|---|---|
static ByteArrayAccessStrategy |
INSTANCE |
public static final ByteArrayAccessStrategy INSTANCE
public byte getByte(byte[] array,
long offset)
ByteAccessStrategygetByte in interface ByteAccessStrategy<byte[]>array - - resource to accessoffset - - offset of bytepublic void putByte(byte[] array,
long offset,
byte x)
ByteAccessStrategyputByte in interface ByteAccessStrategy<byte[]>array - - resource to accessoffset - - offset of bytex - - byte to writeCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.