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
ConstructorDescriptionLeftCutStringByteSource
(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:
get
in interfaceByteSource
- Overrides:
get
in classAsciiStringByteSource
-