| Package | Description |
|---|---|
| org.msgpack.core |
| Modifier and Type | Field and Description |
|---|---|
static MessagePack.UnpackerConfig |
MessagePack.DEFAULT_UNPACKER_CONFIG
Configuration of a
MessageUnpacker used by MessagePack.newDefaultUnpacker(MessageBufferInput) methods. |
| Modifier and Type | Method and Description |
|---|---|
MessagePack.UnpackerConfig |
MessagePack.UnpackerConfig.clone() |
MessagePack.UnpackerConfig |
MessagePack.UnpackerConfig.withActionOnMalformedString(java.nio.charset.CodingErrorAction action)
Sets action when encountered a malformed input (default: REPLACE)
|
MessagePack.UnpackerConfig |
MessagePack.UnpackerConfig.withActionOnUnmappableString(java.nio.charset.CodingErrorAction action)
Sets action when an unmappable character is found (default: REPLACE)
|
MessagePack.UnpackerConfig |
MessagePack.UnpackerConfig.withAllowReadingBinaryAsString(boolean enable)
Allows unpackString and unpackRawStringHeader and unpackString to read bin format family (default: true)
|
MessagePack.UnpackerConfig |
MessagePack.UnpackerConfig.withAllowReadingStringAsBinary(boolean enable)
Allows unpackBinaryHeader to read str format family (default: true)
|
MessagePack.UnpackerConfig |
MessagePack.UnpackerConfig.withBufferSize(int bytes)
When a packer is created with newUnpacker(OutputStream) or newUnpacker(WritableByteChannel), the stream will be
buffered with this size of buffer (default: 8192).
|
MessagePack.UnpackerConfig |
MessagePack.UnpackerConfig.withStringDecoderBufferSize(int bytes) |
MessagePack.UnpackerConfig |
MessagePack.UnpackerConfig.withStringSizeLimit(int bytes)
unpackString size limit (default: Integer.MAX_VALUE).
|
| Constructor and Description |
|---|
MessageUnpacker(MessageBufferInput in,
MessagePack.UnpackerConfig config)
Create an MessageUnpacker that reads data from the given MessageBufferInput.
|
UnpackerConfig(MessagePack.UnpackerConfig copy) |