public static class WriteBuffers.ByteSegmentRef extends Object
Constructor and Description |
---|
ByteSegmentRef() |
ByteSegmentRef(long offset,
int length) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
copy() |
byte[] |
getBytes() |
int |
getLength() |
long |
getOffset() |
void |
reset(long offset,
int length) |
public ByteSegmentRef(long offset, int length)
public ByteSegmentRef()
public void reset(long offset, int length)
public byte[] getBytes()
public long getOffset()
public int getLength()
public ByteBuffer copy()
Copyright © 2019 The Apache Software Foundation. All rights reserved.