Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- allocator() - Method in interface org.odenix.mxpack.core.MessageSink
-
Returns the buffer allocator used by this message sink.
- allocator() - Method in interface org.odenix.mxpack.core.MessageSource
-
Returns the buffer allocator used by this message source.
- allocator(BufferAllocator) - Method in interface org.odenix.mxpack.core.MessageReader.OptionBuilder
-
Sets the buffer allocator to be used by the message writer.
- allocator(BufferAllocator) - Method in interface org.odenix.mxpack.core.MessageWriter.OptionBuilder
-
Sets the buffer allocator to be used by the message writer.
- ARRAY - Enum constant in enum class org.odenix.mxpack.core.MessageType
-
An array value.
B
- BINARY - Enum constant in enum class org.odenix.mxpack.core.MessageType
-
A binary value.
- BOOLEAN - Enum constant in enum class org.odenix.mxpack.core.MessageType
-
A boolean value.
- buffer() - Method in interface org.odenix.mxpack.core.MessageSink
-
Returns the write buffer of this messge sink.
- buffer() - Method in interface org.odenix.mxpack.core.MessageSource
-
Returns the read buffer of this message source.
- BufferAllocator - Interface in org.odenix.mxpack.core
-
An allocator of byte and char buffers.
- BufferAllocator.PooledOptionBuilder - Interface in org.odenix.mxpack.core
-
Options for creating pooled buffer allocators.
- BufferAllocator.UnpooledOptionBuilder - Interface in org.odenix.mxpack.core
-
Options for creating unpooled buffer allocators.
C
- close() - Method in interface org.odenix.mxpack.core.BufferAllocator
-
Closes this buffer allocator, freeing any pooled buffers.
- close() - Method in interface org.odenix.mxpack.core.LeasedByteBuffer
-
Returns the leased byte buffer to the buffer allocator it was obtained from.
- close() - Method in interface org.odenix.mxpack.core.LeasedCharBuffer
-
Returns the leased char buffer to the buffer allocator it was obtained from.
- close() - Method in interface org.odenix.mxpack.core.MessageReader
-
Closes this message reader.
- close() - Method in interface org.odenix.mxpack.core.MessageSink.Provider
-
Closes the underlying I/O abstraction.
- close() - Method in interface org.odenix.mxpack.core.MessageSource.Provider
-
Closes the underlying I/O abstraction.
- close() - Method in interface org.odenix.mxpack.core.MessageWriter
-
Closes this message writer.
D
- decode(MessageSource) - Method in interface org.odenix.mxpack.core.MessageDecoder
-
Reads the next value from a message source and decodes it into a value of type
MessageDecoder
.
E
- encode(T, MessageSink) - Method in interface org.odenix.mxpack.core.MessageEncoder
-
Encodes a value and writes it to a message sink.
- ensureRemaining(int) - Method in interface org.odenix.mxpack.core.MessageSink
- ensureRemaining(int) - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads enough bytes from this message source for
MessageSource.buffer()
to have at leastlength
bytes remaining. - equals(Object) - Method in record class org.odenix.mxpack.core.ExtensionHeader
-
Indicates whether some other object is "equal to" this one.
- EXTENSION - Enum constant in enum class org.odenix.mxpack.core.MessageType
-
An extension value.
- ExtensionHeader - Record Class in org.odenix.mxpack.core
-
The header of an extension value.
- ExtensionHeader(int, byte) - Constructor for record class org.odenix.mxpack.core.ExtensionHeader
-
Creates an instance of a
ExtensionHeader
record class.
F
- FLOAT - Enum constant in enum class org.odenix.mxpack.core.MessageType
-
A floating point value.
- flush() - Method in interface org.odenix.mxpack.core.MessageSink
-
Flushes this message sink.
- flush() - Method in interface org.odenix.mxpack.core.MessageSink.Provider
-
Flushes the underlying I/O abstraction.
- flush() - Method in interface org.odenix.mxpack.core.MessageWriter
-
Flushes this message writer.
- flushBuffer() - Method in interface org.odenix.mxpack.core.MessageSink
-
Flushes the buffer of this message sink.
G
- get() - Method in interface org.odenix.mxpack.core.LeasedByteBuffer
-
Gets the leased byte buffer.
- get() - Method in interface org.odenix.mxpack.core.LeasedCharBuffer
-
Gets the leased char buffer.
- get() - Method in interface org.odenix.mxpack.core.MessageOutput
-
Returns the output produced by a
MessageWriter
. - getByteBuffer(int) - Method in interface org.odenix.mxpack.core.BufferAllocator
-
Returns a leased
ByteBuffer
with at least the given capacity. - getCharBuffer(int) - Method in interface org.odenix.mxpack.core.BufferAllocator
-
Returns a leased
CharBuffer
with at least the given capacity.
H
- hashCode() - Method in record class org.odenix.mxpack.core.ExtensionHeader
-
Returns a hash code value for this object.
I
- identifierDecoder(MessageDecoder<String>) - Method in interface org.odenix.mxpack.core.MessageReader.OptionBuilder
-
Sets the string decoder to be used by
MessageReader.readIdentifier()
. - identifierEncoder(MessageEncoder<? super String>) - Method in interface org.odenix.mxpack.core.MessageWriter.OptionBuilder
-
Sets the string encoder to be used by
MessageWriter.writeIdentifier(java.lang.String)
. - initialCapacity(int) - Method in interface org.odenix.mxpack.core.MessageOutput.Buffer.OptionBuilder
-
Sets the initial capacity, in bytes, of the byte buffer to be produced.
- INTEGER - Enum constant in enum class org.odenix.mxpack.core.MessageType
-
An integer value.
- InvalidMessageHeader(String) - Constructor for exception class org.odenix.mxpack.core.MxPackException.InvalidMessageHeader
-
Constructs an
MxPackException.InvalidMessageHeader
exception with the given message. - isTimestamp() - Method in record class org.odenix.mxpack.core.ExtensionHeader
-
Returns whether this extension value has type
timestamp
.
L
- LeasedByteBuffer - Interface in org.odenix.mxpack.core
-
A
ByteBuffer
leased from aBufferAllocator
. - LeasedCharBuffer - Interface in org.odenix.mxpack.core
-
A
CharBuffer
leased from aBufferAllocator
. - length() - Method in record class org.odenix.mxpack.core.ExtensionHeader
-
Returns the value of the
length
record component.
M
- MAP - Enum constant in enum class org.odenix.mxpack.core.MessageType
-
A map value.
- maxByteBufferCapacity() - Method in interface org.odenix.mxpack.core.BufferAllocator
-
Returns the maximum buffer capacity, in bytes, that may be requested by
BufferAllocator.getByteBuffer(int)
. - maxByteBufferCapacity(int) - Method in interface org.odenix.mxpack.core.BufferAllocator.PooledOptionBuilder
-
Sets the maximum capacity, in bytes, that may be requested by
BufferAllocator.getByteBuffer(int)
. - maxByteBufferCapacity(int) - Method in interface org.odenix.mxpack.core.BufferAllocator.UnpooledOptionBuilder
-
Sets the maximum capacity, in bytes, that may be requested by
BufferAllocator.getByteBuffer(int)
. - maxByteBufferPoolCapacity(int) - Method in interface org.odenix.mxpack.core.BufferAllocator.PooledOptionBuilder
-
Sets the maximum capacity of the byte buffer pool.
- maxCharBufferCapacity() - Method in interface org.odenix.mxpack.core.BufferAllocator
-
Returns the maximum buffer capacity, in chars, that may be requested by
BufferAllocator.getCharBuffer(int)
. - maxCharBufferCapacity(int) - Method in interface org.odenix.mxpack.core.BufferAllocator.PooledOptionBuilder
-
Sets the maximum capacity, in chars, that may be requested by
BufferAllocator.getCharBuffer(int)
. - maxCharBufferCapacity(int) - Method in interface org.odenix.mxpack.core.BufferAllocator.UnpooledOptionBuilder
-
Sets the maximum capacity, in chars, that may be requested by
BufferAllocator.getCharBuffer(int)
. - maxCharBufferPoolCapacity(int) - Method in interface org.odenix.mxpack.core.BufferAllocator.PooledOptionBuilder
-
Sets the maximum capacity of the char buffer pool.
- maxPooledByteBufferCapacity(int) - Method in interface org.odenix.mxpack.core.BufferAllocator.PooledOptionBuilder
-
Sets the maximum capacity, in bytes, of a pooled byte buffer.
- maxPooledCharBufferCapacity(int) - Method in interface org.odenix.mxpack.core.BufferAllocator.PooledOptionBuilder
-
Sets the maximum capacity, in chars, of a pooled char buffer.
- MessageDecoder<T> - Interface in org.odenix.mxpack.core
-
Reads values from a
MessageSource
and decodes them into values of typeMessageDecoder
. - MessageEncoder<T> - Interface in org.odenix.mxpack.core
-
Encodes values of type
MessageEncoder
and writes them to aMessageSink
. - MessageOutput<T> - Interface in org.odenix.mxpack.core
-
A container for the in-memory output produced by a
MessageWriter
. - MessageOutput.Buffer - Interface in org.odenix.mxpack.core
-
A container for the
LeasedByteBuffer
produced by aMessageWriter
. - MessageOutput.Buffer.OptionBuilder - Interface in org.odenix.mxpack.core
-
A builder of
MessageOutput.Buffer
options. - MessageReader - Interface in org.odenix.mxpack.core
-
Reads values encoded in MessagePack from a channel, input stream, byte buffer, or
MessageSink.Provider
. - MessageReader.OptionBuilder - Interface in org.odenix.mxpack.core
-
A builder of message reader options.
- MessageSink - Interface in org.odenix.mxpack.core
-
A destination of bytes that a
MessageWriter
writes to. - MessageSink.Provider - Interface in org.odenix.mxpack.core
- MessageSource - Interface in org.odenix.mxpack.core
-
A source of bytes that a
MessageReader
reads from. - MessageSource.Provider - Interface in org.odenix.mxpack.core
- MessageType - Enum Class in org.odenix.mxpack.core
-
The type of a MessagePack value.
- MessageWriter - Interface in org.odenix.mxpack.core
-
Writes values encoded in MessagePack to a channel, output stream,
MessageOutput
, orMessageSink.Provider
. - MessageWriter.OptionBuilder - Interface in org.odenix.mxpack.core
-
A builder of message writer options.
- MxPackException - Exception Class in org.odenix.mxpack.core
-
The root of MxPack's exception hierarchy.
- MxPackException(String) - Constructor for exception class org.odenix.mxpack.core.MxPackException
-
Constructs a
MxPackException
exception with the given message. - MxPackException.InvalidMessageHeader - Exception Class in org.odenix.mxpack.core
-
Indicates that a MessagePack value has an invalid header.
- MxPackException.SizeLimitExceeded - Exception Class in org.odenix.mxpack.core
-
Indicates that the size limit of a buffer or other resource has been exceeded.
- MxPackException.TypeMismatch - Exception Class in org.odenix.mxpack.core
-
Indicates that a MessagePack value is incompatible with the requested type.
N
- nextByte() - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads the next
byte
without consuming it. - nextType() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads the next value's type without consuming it.
- NIL - Enum constant in enum class org.odenix.mxpack.core.MessageType
-
A nil (null) value.
O
- of(InputStream) - Static method in interface org.odenix.mxpack.core.MessageReader
-
Returns a new message reader that reads from the given input stream.
- of(InputStream, Consumer<MessageReader.OptionBuilder>) - Static method in interface org.odenix.mxpack.core.MessageReader
-
Returns a new message reader with the given options that reads from the given input stream.
- of(OutputStream) - Static method in interface org.odenix.mxpack.core.MessageWriter
-
Returns a new message writer that writes to the given output stream.
- of(OutputStream, Consumer<MessageWriter.OptionBuilder>) - Static method in interface org.odenix.mxpack.core.MessageWriter
-
Returns a new message writer with the given options that writes to the given output stream.
- of(ByteBuffer) - Static method in interface org.odenix.mxpack.core.MessageReader
-
Returns a new message reader that reads from the given byte buffer.
- of(ByteBuffer, Consumer<MessageReader.OptionBuilder>) - Static method in interface org.odenix.mxpack.core.MessageReader
-
Returns a new message reader with the given options that reads from the given byte buffer.
- of(ReadableByteChannel) - Static method in interface org.odenix.mxpack.core.MessageReader
-
Returns a new message reader that reads from the given channel.
- of(ReadableByteChannel, Consumer<MessageReader.OptionBuilder>) - Static method in interface org.odenix.mxpack.core.MessageReader
-
Returns a new message reader with the given options that reads from the given channel.
- of(WritableByteChannel) - Static method in interface org.odenix.mxpack.core.MessageWriter
-
Returns a new message writer that writes to the given channel.
- of(WritableByteChannel, Consumer<MessageWriter.OptionBuilder>) - Static method in interface org.odenix.mxpack.core.MessageWriter
-
Returns a new message writer with the given options that writes to the given channel.
- of(LeasedByteBuffer) - Static method in interface org.odenix.mxpack.core.MessageReader
-
Returns a new message reader that reads from the given byte buffer.
- of(LeasedByteBuffer, Consumer<MessageReader.OptionBuilder>) - Static method in interface org.odenix.mxpack.core.MessageReader
-
Returns a new message reader with the given options that reads from the given byte buffer.
- of(MessageOutput.Buffer) - Static method in interface org.odenix.mxpack.core.MessageWriter
-
Returns a new message writer that writes to the given buffer output.
- of(MessageOutput.Buffer, Consumer<MessageWriter.OptionBuilder>) - Static method in interface org.odenix.mxpack.core.MessageWriter
-
Returns a new message writer with the given options that writes to the given buffer output.
- of(MessageSink.Provider) - Static method in interface org.odenix.mxpack.core.MessageWriter
-
Returns a new message writer that writes to the given sink provider.
- of(MessageSink.Provider, Consumer<MessageWriter.OptionBuilder>) - Static method in interface org.odenix.mxpack.core.MessageWriter
-
Returns a new message writer with the given options that writes to the given sink provider.
- of(MessageSource.Provider) - Static method in interface org.odenix.mxpack.core.MessageReader
-
Returns a new message reader that reads from the given source provider.
- of(MessageSource.Provider, Consumer<MessageReader.OptionBuilder>) - Static method in interface org.odenix.mxpack.core.MessageReader
-
Returns a new message reader with the given options that reads from the given source provider.
- ofBuffer() - Static method in interface org.odenix.mxpack.core.MessageOutput
-
Returns a new
MessageOutput
for aLeasedByteBuffer
. - ofBuffer(Consumer<MessageOutput.Buffer.OptionBuilder>) - Static method in interface org.odenix.mxpack.core.MessageOutput
-
Returns a new
MessageOutput
for aLeasedByteBuffer
with the given options. - ofDiscarding() - Static method in interface org.odenix.mxpack.core.MessageWriter
-
Returns a new message writer that discards any bytes written.
- ofDiscarding(ByteBuffer) - Static method in interface org.odenix.mxpack.core.MessageWriter
-
Returns a new message writer with the given underlying buffer that discards any bytes written.
- ofEmpty() - Static method in interface org.odenix.mxpack.core.MessageReader
-
Returns a new message reader that will throw
EOFException
when a value is read. - ofPooled() - Static method in interface org.odenix.mxpack.core.BufferAllocator
-
Returns a new buffer allocator that maintains a buffer pool to reduce buffer allocations.
- ofPooled(Consumer<BufferAllocator.PooledOptionBuilder>) - Static method in interface org.odenix.mxpack.core.BufferAllocator
-
Returns a new buffer allocator with the given options that maintains a buffer pool to reduce buffer allocations.
- ofStrings() - Static method in interface org.odenix.mxpack.core.MessageDecoder
-
Returns a new message decoder that decodes strings.
- ofStrings() - Static method in interface org.odenix.mxpack.core.MessageEncoder
-
Returns a new message encoder that encodes strings.
- ofUnpooled() - Static method in interface org.odenix.mxpack.core.BufferAllocator
-
Returns a new buffer allocator that allocates a new buffer each time
BufferAllocator.getByteBuffer(int)
orBufferAllocator.getCharBuffer(int)
is called. - ofUnpooled(Consumer<BufferAllocator.UnpooledOptionBuilder>) - Static method in interface org.odenix.mxpack.core.BufferAllocator
-
Returns a new buffer allocator with the given options that allocates a new buffer each time
BufferAllocator.getByteBuffer(int)
orBufferAllocator.getCharBuffer(int)
is called. - org.odenix.mxpack.core - module org.odenix.mxpack.core
-
A modern Java library for reading and writing the MessagePack serialization format.
- org.odenix.mxpack.core - package org.odenix.mxpack.core
-
The Java API of MxPack.
P
- preferDirectBuffers(boolean) - Method in interface org.odenix.mxpack.core.BufferAllocator.PooledOptionBuilder
-
Sets whether to preferably allocate direct byte buffers.
R
- read(ByteBuffer) - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads between 1 and remaining bytes into the given byte buffer.
- read(ByteBuffer, int) - Method in interface org.odenix.mxpack.core.MessageSource.Provider
-
Reads from the underlying I/O abstraction into the given buffer.
- read(MessageDecoder<T>) - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads and decodes a value.
- readArrayHeader() - Method in interface org.odenix.mxpack.core.MessageReader
-
Starts reading an array value.
- readAtLeast(ByteBuffer, int) - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads between
length
and remaining bytes into the given byte buffer. - readBinaryHeader() - Method in interface org.odenix.mxpack.core.MessageReader
-
Starts reading a binary value.
- readBoolean() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads a boolean value.
- readBufferCapacity(int) - Method in interface org.odenix.mxpack.core.MessageReader.OptionBuilder
-
Sets the capacity of the message reader's read buffer.
- readByte() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads an integer value that fits into
byte
. - readByte() - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads a
byte
. - readDouble() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads a floating point value.
- readDouble() - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads a
double
. - readExtensionHeader() - Method in interface org.odenix.mxpack.core.MessageReader
-
Starts reading an extension value.
- readFloat() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads a floating point value that fits into
float
. - readFloat() - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads a
float
. - readIdentifier() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads a string value that is used as identifier.
- readInt() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads an integer value that fits into
int
. - readInt() - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads an
int
. - readLength16() - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads a 16-bit unsigned length value into an
int
. - readLength32(MessageType) - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads a 32-bit unsigned length value into an
int
. - readLength8() - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads an 8-bit unsigned length value into a
short
. - readLong() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads an integer value.
- readLong() - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads a
long
. - readMapHeader() - Method in interface org.odenix.mxpack.core.MessageReader
-
Starts reading a map value.
- readNil() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads a nil (null) value.
- readPayload(OutputStream, long) - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads up to
length
bytes into the given output stream. - readPayload(ByteBuffer) - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads up to
Buffer.remaining()
bytes into the given byte buffer. - readPayload(WritableByteChannel, long) - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads up to
length
bytes into the given channel. - readShort() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads an integer value that fits into
short
. - readShort() - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads a
short
. - readString() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads a string value.
- readStringHeader() - Method in interface org.odenix.mxpack.core.MessageReader
-
Starts reading a string value as a sequence of bytes.
- readTimestamp() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads a timestamp value.
- readUByte() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads an integer value that fits into
byte
interpreted as unsigned value. - readUByte() - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads an unsigned byte into a
short
. - readUInt() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads an integer value that fits into
int
interpreted as unsigned value. - readUInt() - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads an unsigned int into a
long
. - readULong() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads an integer value that fits into a
long
interpreted as unsigned value. - readUShort() - Method in interface org.odenix.mxpack.core.MessageReader
-
Reads an integer value that fits into
short
interpreted as unsigned value. - readUShort() - Method in interface org.odenix.mxpack.core.MessageSource
-
Reads an unsigned short into an
int
.
S
- SizeLimitExceeded(String) - Constructor for exception class org.odenix.mxpack.core.MxPackException.SizeLimitExceeded
-
Constructs a
MxPackException.SizeLimitExceeded
exception with the given message. - skip(int) - Method in interface org.odenix.mxpack.core.MessageSource
-
Skips the next
length
bytes. - skip(int, ByteBuffer) - Method in interface org.odenix.mxpack.core.MessageSource.Provider
-
Skips the next
length
bytes in the underlying I/O abstraction. - skipValue() - Method in interface org.odenix.mxpack.core.MessageReader
-
Skips the next value.
- skipValue(int) - Method in interface org.odenix.mxpack.core.MessageReader
-
Skips the next
count
values. - STRING - Enum constant in enum class org.odenix.mxpack.core.MessageType
-
A string value.
- stringDecoder(MessageDecoder<String>) - Method in interface org.odenix.mxpack.core.MessageReader.OptionBuilder
-
Sets the string decoder to be used by
MessageReader.readString()
. - stringEncoder(MessageEncoder<CharSequence>) - Method in interface org.odenix.mxpack.core.MessageWriter.OptionBuilder
-
Sets the string encoder to be used by
MessageWriter.write(CharSequence)
.
T
- TIMESTAMP_TYPE - Static variable in record class org.odenix.mxpack.core.ExtensionHeader
-
The numeric identifier of extension type
timestamp
. - toString() - Method in record class org.odenix.mxpack.core.ExtensionHeader
-
Returns a string representation of this record class.
- transferFrom(ReadableByteChannel, long) - Method in interface org.odenix.mxpack.core.MessageSink
-
Transfers up to
length
bytes from the given channel to this message sink. - transferFrom(ReadableByteChannel, long, ByteBuffer) - Method in interface org.odenix.mxpack.core.MessageSink.Provider
-
Transfers up to
length
bytes from the given channel to the underlying I/O abstraction. - transferTo(WritableByteChannel, long) - Method in interface org.odenix.mxpack.core.MessageSource
-
Transfers up to
length
bytes from this message source to the given channel. - transferTo(WritableByteChannel, long, ByteBuffer) - Method in interface org.odenix.mxpack.core.MessageSource.Provider
-
Transfers up to
length
bytes from the underlying I/O abstraction to the given channel. - type() - Method in record class org.odenix.mxpack.core.ExtensionHeader
-
Returns the value of the
type
record component. - TypeMismatch(String) - Constructor for exception class org.odenix.mxpack.core.MxPackException.TypeMismatch
-
Constructs a
MxPackException.TypeMismatch
exception with the given message.
V
- valueOf(String) - Static method in enum class org.odenix.mxpack.core.MessageType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.odenix.mxpack.core.MessageType
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- write(boolean) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes a boolean value.
- write(byte) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes a
byte
. - write(byte) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes an integer value that fits into
byte
. - write(byte, byte) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes a
byte
followed by abyte
. - write(byte, double) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes a
byte
followed by adouble
. - write(byte, float) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes a
byte
followed by afloat
. - write(byte, int) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes a
byte
followed by anint
. - write(byte, long) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes a
byte
followed by along
. - write(byte, short) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes a
byte
followed by ashort
. - write(double) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes a
double
. - write(double) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes a floating point value that fits into
double
. - write(float) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes a
float
. - write(float) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes a floating point value that fits into
float
. - write(int) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes an
int
. - write(int) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes an integer value that fits into
int
. - write(long) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes a
long
. - write(long) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes an integer value that fits into
long
. - write(short) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes a
short
. - write(short) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes an integer value that fits into
short
. - write(CharSequence) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes a string value.
- write(ByteBuffer) - Method in interface org.odenix.mxpack.core.MessageSink.Provider
-
Writes the remaining bytes of the given byte buffer to the underlying I/O abstraction.
- write(ByteBuffer) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes the remaining bytes of the given buffer.
- write(ByteBuffer...) - Method in interface org.odenix.mxpack.core.MessageSink.Provider
-
Writes the remaining bytes of the given byte buffers to the underlying I/O abstraction.
- write(ByteBuffer...) - Method in interface org.odenix.mxpack.core.MessageSink
-
Writes the remaining bytes of the given buffers.
- write(Instant) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes a timestamp value.
- write(T, MessageEncoder<T>) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Encodes and writes a value.
- writeArrayHeader(int) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Starts writing an array value.
- writeBinaryHeader(int) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Starts writing a binary value.
- writeBufferCapacity(int) - Method in interface org.odenix.mxpack.core.MessageWriter.OptionBuilder
-
Sets the capacity of the message writer's write buffer.
- writeExtensionHeader(int, byte) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Starts writing an extension value.
- writeIdentifier(String) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes a string value that is used as identifier.
- writeMapHeader(int) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Starts writing a map value.
- writeNil() - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes a nil (null) value.
- writePayload(InputStream, long) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes up to
length
bytes read from the given input stream. - writePayload(ByteBuffer) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes the remaining bytes of the given byte buffer.
- writePayload(ByteBuffer...) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes the remaining bytes of the given byte buffers.
- writePayload(ReadableByteChannel, long) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes up to
length
bytes read from the given channel. - writeStringHeader(int) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Starts writing a string value.
- writeUnsigned(byte) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes an integer value that fits into a
byte
interpreted as unsigned value. - writeUnsigned(int) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes an integer value that fits into an
int
interpreted as unsigned value. - writeUnsigned(long) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes an integer value that fits into a
long
interpreted as unsigned value. - writeUnsigned(short) - Method in interface org.odenix.mxpack.core.MessageWriter
-
Writes an integer value that fits into a
short
interpreted as unsigned value.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form