public class Utf8PartialBuilder
extends java.lang.Object
Utf8StringBuilder
, but allowing partially constructed Strings without throwing
Exceptions for incomplete UTF8 sequences.
A call to toPartialString(ByteBuffer)
will return the section of the String from the start to the last
completed UTF8 sequence. Leaving incomplete sequences for a subsequent call to complete.
Constructor and Description |
---|
Utf8PartialBuilder() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toPartialString(java.nio.ByteBuffer buf) |
Copyright © 1995–2017 Webtide. All rights reserved.