public class StringInternerBytes
extends net.openhft.chronicle.core.pool.StringInterner
Constructor and Description |
---|
StringInternerBytes(int capacity) |
Modifier and Type | Method and Description |
---|---|
String |
intern(@NotNull Bytes bytes) |
String |
intern(@NotNull 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 @NotNull Bytes bytes, int length)
bytes
- the bytes to convert to a stringlength
- parse the string up to the lengthCopyright © 2020. All rights reserved.