public class StringInternerBytes
extends net.openhft.chronicle.core.pool.StringInterner
Constructor and Description |
---|
StringInternerBytes(int capacity) |
Modifier and Type | Method and Description |
---|---|
String |
bytesToSting(Bytes bytes,
byte stopByte)
converts the bytes an ISO-8859-1 String, the end of the string is either then bytes.limit ()
or a byte containing the stopByte ( which ever comes first ) The string is interned, and
added to a pool.
|
public String bytesToSting(Bytes bytes, byte stopByte)
bytes
- the bytes to convert to a stringstopByte
- parse the string up to the stopByteCopyright © 2015. All rights reserved.