Package org.odenix.mxpack.core
@NullMarked
package org.odenix.mxpack.core
The Java API of MxPack.
- To read data, use
MessageReader. - To write data, use
MessageWriter.
For additional documentation, see the MxPack website.
-
ClassDescriptionAn allocator of byte and char buffers.Options for creating pooled buffer allocators.Options for creating unpooled buffer allocators.The header of an extension value.A
ByteBufferleased from aBufferAllocator.ACharBufferleased from aBufferAllocator.Reads values from aMessageSourceand decodes them into values of typeT.Encodes values of typeTand writes them to aMessageSink.A container for the in-memory output produced by aMessageWriter.A container for theLeasedByteBufferproduced by aMessageWriter.A builder ofMessageOutput.Bufferoptions.Reads values encoded in MessagePack from a channel, input stream, byte buffer, orMessageSink.Provider.A builder of message reader options.A destination of bytes that aMessageWriterwrites to.A source of bytes that aMessageReaderreads from.The type of a MessagePack value.Writes values encoded in MessagePack to a channel, output stream,MessageOutput, orMessageSink.Provider.A builder of message writer options.The root of MxPack's exception hierarchy.Indicates that a MessagePack value has an invalid header.Indicates that the size limit of a buffer or other resource has been exceeded.Indicates that a MessagePack value is incompatible with the requested type.