Class LeftCutStringByteSource
java.lang.Object
org.nustaq.offheap.bytez.bytesource.AsciiStringByteSource
org.nustaq.offheap.bytez.bytesource.LeftCutStringByteSource
- All Implemented Interfaces:
ByteSource
public class LeftCutStringByteSource extends AsciiStringByteSource
implement bytesource on top a string, the string is right aligned inside the byte source
-
Field Summary
Fields inherited from class org.nustaq.offheap.bytez.bytesource.AsciiStringByteSource
len, off, string -
Constructor Summary
Constructors Constructor Description LeftCutStringByteSource(String arr)LeftCutStringByteSource(String arr, int off)LeftCutStringByteSource(String arr, int off, int len) -
Method Summary
Modifier and Type Method Description byteget(long index)
-
Constructor Details
-
Method Details
-
get
public byte get(long index)- Specified by:
getin interfaceByteSource- Overrides:
getin classAsciiStringByteSource
-