public class StringInternerBytes
extends net.openhft.chronicle.core.pool.StringInterner
Constructor and Description |
---|
StringInternerBytes(int capacity) |
Modifier and Type | Method and Description |
---|---|
String |
intern(Bytes bytes,
int length)
converts the bytes to a ISO-8859-1 String, the end of the string is either the bytes .limit
() or a byte containing the stopByte ( which ever comes first ).
|
public String intern(@NotNull Bytes bytes, int length)
bytes
- the bytes to convert to a stringlength
- parse the string up to the lengthCopyright © 2016. All rights reserved.