Class LeftCutStringByteSource
java.lang.Object
org.nustaq.offheap.bytez.bytesource.AsciiStringByteSource
org.nustaq.offheap.bytez.bytesource.LeftCutStringByteSource
- All Implemented Interfaces:
ByteSource
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
ConstructorsConstructorDescriptionLeftCutStringByteSource(String arr, int off) LeftCutStringByteSource(String arr, int off, int len) -
Method Summary
-
Constructor Details
-
LeftCutStringByteSource
-
LeftCutStringByteSource
-
LeftCutStringByteSource
-
-
Method Details
-
get
public byte get(long index) - Specified by:
getin interfaceByteSource- Overrides:
getin classAsciiStringByteSource
-