- cachedSchema() - Method in interface io.protostuff.Message
-
Gets the cached schema of this message.
- cdecode(char[]) - Static method in class io.protostuff.B64Code
-
Fast Base 64 decode as described in RFC 1421.
- cdecode(char[], int, int) - Static method in class io.protostuff.B64Code
-
Fast Base 64 decode as described in RFC 1421.
- cencode(byte[]) - Static method in class io.protostuff.B64Code
-
Fast Base 64 encode as described in RFC 1421.
- cencode(byte[], int, int) - Static method in class io.protostuff.B64Code
-
Fast Base 64 encode as described in RFC 1421.
- clear() - Method in class io.protostuff.LinkedBuffer
-
The offset will be reset to its starting position.
- clear() - Method in class io.protostuff.WriteSession
-
The buffer will be cleared (tail will point to the head) and the size will be reset to zero.
- computeUTF8Size(String, int, int) - Static method in class io.protostuff.StringSerializer
-
Computes the size of the utf8 string beginning at the specified index with the specified length.
- copyFrom(byte[], int, int) - Static method in class io.protostuff.ByteString
-
Copies the given bytes into a ByteString.
- copyFrom(byte[]) - Static method in class io.protostuff.ByteString
-
Copies the given bytes into a ByteString.
- copyFrom(String, String) - Static method in class io.protostuff.ByteString
-
Encodes text into a sequence of bytes using the named charset and returns the result as a
ByteString.
- copyFromUtf8(String) - Static method in class io.protostuff.ByteString
-
Encodes text into a sequence of UTF-8 bytes and returns the result as a ByteString.
- copyTo(byte[], int) - Method in class io.protostuff.ByteString
-
Copies bytes into a buffer at the given offset.
- copyTo(byte[], int, int, int) - Method in class io.protostuff.ByteString
-
Copies bytes into a buffer.
- CustomSchema<T> - Class in io.protostuff
-
A schema (helper class) that wraps another schema and allows its subclasses to override certain methods for more
customization.
- CustomSchema(Schema<T>) - Constructor for class io.protostuff.CustomSchema
-
- readBool() - Method in class io.protostuff.FilterInput
-
- readBool() - Method in interface io.protostuff.Input
-
Reads a boolean field value.
- readByteArray() - Method in class io.protostuff.FilterInput
-
- readByteArray() - Method in interface io.protostuff.Input
-
Reads a byte array field value.
- readByteBuffer() - Method in class io.protostuff.FilterInput
-
Reads a byte array/ByteBuffer value.
- readByteBuffer() - Method in interface io.protostuff.Input
-
- readBytes() - Method in class io.protostuff.FilterInput
-
- readBytes() - Method in interface io.protostuff.Input
-
- readDouble() - Method in class io.protostuff.FilterInput
-
- readDouble() - Method in interface io.protostuff.Input
-
Reads a double field value.
- readEnum() - Method in class io.protostuff.FilterInput
-
- readEnum() - Method in interface io.protostuff.Input
-
Reads an enum(its number) field value.
- readFieldNumber(Schema<T>) - Method in class io.protostuff.FilterInput
-
- readFieldNumber(Schema<T>) - Method in interface io.protostuff.Input
-
Reads the field number of a message/object tied to the given
schema.
- readFixed32() - Method in class io.protostuff.FilterInput
-
- readFixed32() - Method in interface io.protostuff.Input
-
Reads a fixed int(4 bytes) field value.
- readFixed64() - Method in class io.protostuff.FilterInput
-
- readFixed64() - Method in interface io.protostuff.Input
-
Reads a fixed long(8 bytes) field value.
- readFloat() - Method in class io.protostuff.FilterInput
-
- readFloat() - Method in interface io.protostuff.Input
-
Reads a float field value.
- readInt32() - Method in class io.protostuff.FilterInput
-
- readInt32() - Method in interface io.protostuff.Input
-
Reads a variable int field value.
- readInt64() - Method in class io.protostuff.FilterInput
-
- readInt64() - Method in interface io.protostuff.Input
-
Reads a variable long field value.
- readSFixed32() - Method in class io.protostuff.FilterInput
-
- readSFixed32() - Method in interface io.protostuff.Input
-
Reads a signed+fixed int(4 bytes) field value.
- readSFixed64() - Method in class io.protostuff.FilterInput
-
- readSFixed64() - Method in interface io.protostuff.Input
-
Reads a signed+fixed long(8 bytes) field value.
- readSInt32() - Method in class io.protostuff.FilterInput
-
- readSInt32() - Method in interface io.protostuff.Input
-
Reads a signed int field value.
- readSInt64() - Method in class io.protostuff.FilterInput
-
- readSInt64() - Method in interface io.protostuff.Input
-
Reads a signed long field value.
- readString() - Method in class io.protostuff.FilterInput
-
- readString() - Method in interface io.protostuff.Input
-
- readUInt32() - Method in class io.protostuff.FilterInput
-
- readUInt32() - Method in interface io.protostuff.Input
-
Reads an unsigned int field value.
- readUInt64() - Method in class io.protostuff.FilterInput
-
- readUInt64() - Method in interface io.protostuff.Input
-
Reads an unsigned long field value.
- reset() - Method in class io.protostuff.Pipe
-
Resets this pipe for re-use.
- reset() - Method in class io.protostuff.WriteSession
-
Resets this session for re-use.
- WireFormat - Class in io.protostuff
-
This class is used internally by the Protocol Buffer library and generated message implementations.
- WireFormat.FieldType - Enum in io.protostuff
-
This is here to support runtime schemas.
- WireFormat.JavaType - Enum in io.protostuff
-
This is here to support runtime schemas.
- wireType - Variable in enum io.protostuff.WireFormat.FieldType
-
- WIRETYPE_END_GROUP - Static variable in class io.protostuff.WireFormat
-
- WIRETYPE_FIXED32 - Static variable in class io.protostuff.WireFormat
-
- WIRETYPE_FIXED64 - Static variable in class io.protostuff.WireFormat
-
- WIRETYPE_LENGTH_DELIMITED - Static variable in class io.protostuff.WireFormat
-
- WIRETYPE_REFERENCE - Static variable in class io.protostuff.WireFormat
-
- WIRETYPE_START_GROUP - Static variable in class io.protostuff.WireFormat
-
- WIRETYPE_TAIL_DELIMITER - Static variable in class io.protostuff.WireFormat
-
- WIRETYPE_VARINT - Static variable in class io.protostuff.WireFormat
-
- wrap(byte[], int, int) - Static method in class io.protostuff.LinkedBuffer
-
Wraps the byte array buffer as a read-only buffer.
- wrappedSchema - Variable in class io.protostuff.Pipe.Schema
-
- writeAscii(String, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StreamedStringSerializer
-
Writes the ascii bytes from the string into the
LinkedBuffer.
- writeAscii(String, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
-
Writes the ascii bytes from the string into the
LinkedBuffer.
- writeBool(int, boolean, boolean) - Method in class io.protostuff.FilterOutput
-
- writeBool(int, boolean, boolean) - Method in interface io.protostuff.Output
-
Writes a boolean field.
- writeByte(byte, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeByteArray(int, byte[], boolean) - Method in class io.protostuff.FilterOutput
-
- writeByteArray(int, byte[], boolean) - Method in interface io.protostuff.Output
-
Writes a byte array field.
- writeByteArray(byte[], WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeByteArray(byte[], int, int, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeByteArrayB64(byte[], WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeByteArrayB64(byte[], int, int, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeByteRange(boolean, int, byte[], int, int, boolean) - Method in class io.protostuff.FilterOutput
-
- writeByteRange(boolean, int, byte[], int, int, boolean) - Method in interface io.protostuff.Output
-
Writes a binary or a pre-encoded utf8 string.
- writeBytes(int, ByteString, boolean) - Method in class io.protostuff.FilterOutput
-
- writeBytes(int, ByteBuffer, boolean) - Method in class io.protostuff.FilterOutput
-
Writes a ByteBuffer field.
- writeBytes(int, ByteString, boolean) - Method in interface io.protostuff.Output
-
Writes a ByteString(wraps byte array) field.
- writeBytes(int, ByteBuffer, boolean) - Method in interface io.protostuff.Output
-
- writeDouble(int, double, boolean) - Method in class io.protostuff.FilterOutput
-
- writeDouble(int, double, boolean) - Method in interface io.protostuff.Output
-
Writes a double field.
- writeDouble(double, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StreamedStringSerializer
-
- writeDouble(double, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
-
- writeDouble(double, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeDoubleLE(double, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeEnum(int, int, boolean) - Method in class io.protostuff.FilterOutput
-
- writeEnum(int, int, boolean) - Method in interface io.protostuff.Output
-
Writes a enum(its number) field.
- writeFixed32(int, int, boolean) - Method in class io.protostuff.FilterOutput
-
- writeFixed32(int, int, boolean) - Method in interface io.protostuff.Output
-
Writes a fixed int(4 bytes) field.
- writeFixed64(int, long, boolean) - Method in class io.protostuff.FilterOutput
-
- writeFixed64(int, long, boolean) - Method in interface io.protostuff.Output
-
Writes a fixed long(8 bytes) field.
- writeFloat(int, float, boolean) - Method in class io.protostuff.FilterOutput
-
- writeFloat(int, float, boolean) - Method in interface io.protostuff.Output
-
Writes a float field.
- writeFloat(float, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StreamedStringSerializer
-
- writeFloat(float, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
-
- writeFloat(float, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeFloatLE(float, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeInt(int, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StreamedStringSerializer
-
- writeInt(int, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
-
- writeInt16(int, byte[], int) - Static method in class io.protostuff.IntSerializer
-
Writes the 16-bit int into the buffer starting with the most significant byte.
- writeInt16(int, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeInt16LE(int, byte[], int) - Static method in class io.protostuff.IntSerializer
-
Writes the 16-bit int into the buffer starting with the least significant byte.
- writeInt16LE(int, ByteBuffer) - Static method in class io.protostuff.IntSerializer
-
- writeInt16LE(int, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeInt32(int, int, boolean) - Method in class io.protostuff.FilterOutput
-
- writeInt32(int, byte[], int) - Static method in class io.protostuff.IntSerializer
-
Writes the 32-bit int into the buffer starting with the most significant byte.
- writeInt32(int, int, boolean) - Method in interface io.protostuff.Output
-
Writes a variable int field.
- writeInt32(int, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeInt32LE(int, byte[], int) - Static method in class io.protostuff.IntSerializer
-
Writes the 32-bit int into the buffer starting with the least significant byte.
- writeInt32LE(int, ByteBuffer) - Static method in class io.protostuff.IntSerializer
-
- writeInt32LE(int, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeInt64(int, long, boolean) - Method in class io.protostuff.FilterOutput
-
- writeInt64(long, byte[], int) - Static method in class io.protostuff.IntSerializer
-
Writes the 64-bit int into the buffer starting with the most significant byte.
- writeInt64(int, long, boolean) - Method in interface io.protostuff.Output
-
Writes a variable long field.
- writeInt64(long, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeInt64LE(long, byte[], int) - Static method in class io.protostuff.IntSerializer
-
Writes the 64-bit int into the buffer starting with the least significant byte.
- writeInt64LE(long, ByteBuffer) - Static method in class io.protostuff.IntSerializer
-
- writeInt64LE(long, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeLong(long, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StreamedStringSerializer
-
- writeLong(long, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
-
- writeObject(int, T, Schema<T>, boolean) - Method in class io.protostuff.FilterOutput
-
- writeObject(int, T, Schema<T>, boolean) - Method in interface io.protostuff.Output
-
Writes an object(using its schema) field.
- WriteSession - Class in io.protostuff
-
Designed to be subclassed by implementations of
Output for easier serialization code for streaming or full
buffering.
- WriteSession(LinkedBuffer) - Constructor for class io.protostuff.WriteSession
-
- WriteSession(LinkedBuffer, int) - Constructor for class io.protostuff.WriteSession
-
- WriteSession(LinkedBuffer, OutputStream, WriteSession.FlushHandler, int) - Constructor for class io.protostuff.WriteSession
-
- WriteSession(LinkedBuffer, OutputStream) - Constructor for class io.protostuff.WriteSession
-
- WriteSession.FlushHandler - Interface in io.protostuff
-
- writeSFixed32(int, int, boolean) - Method in class io.protostuff.FilterOutput
-
- writeSFixed32(int, int, boolean) - Method in interface io.protostuff.Output
-
Writes a signed+fixed int(4 bytes) field.
- writeSFixed64(int, long, boolean) - Method in class io.protostuff.FilterOutput
-
- writeSFixed64(int, long, boolean) - Method in interface io.protostuff.Output
-
Writes a signed+fixed long(8 bytes) field.
- WriteSink - Enum in io.protostuff
-
- writeSInt32(int, int, boolean) - Method in class io.protostuff.FilterOutput
-
- writeSInt32(int, int, boolean) - Method in interface io.protostuff.Output
-
Writes a signed int field.
- writeSInt64(int, long, boolean) - Method in class io.protostuff.FilterOutput
-
- writeSInt64(int, long, boolean) - Method in interface io.protostuff.Output
-
Writes a signed long field.
- writeStrAscii(String, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeStrFromDouble(double, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeStrFromFloat(float, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeStrFromInt(int, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeStrFromLong(long, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeString(int, String, boolean) - Method in class io.protostuff.FilterOutput
-
- writeString(int, String, boolean) - Method in interface io.protostuff.Output
-
Writes a String field.
- writeStrUTF8(String, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeStrUTF8FixedDelimited(String, boolean, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeStrUTF8VarDelimited(String, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeTo(OutputStream, ByteString) - Static method in class io.protostuff.ByteString
-
- writeTo(DataOutput, ByteString) - Static method in class io.protostuff.ByteString
-
- writeTo(Output, ByteString, int, boolean) - Static method in class io.protostuff.ByteString
-
Writes the bytes to the
Output.
- writeTo(Output, T) - Method in class io.protostuff.CustomSchema
-
- writeTo(OutputStream, LinkedBuffer) - Static method in class io.protostuff.LinkedBuffer
-
- writeTo(DataOutput, LinkedBuffer) - Static method in class io.protostuff.LinkedBuffer
-
- writeTo(Output, Pipe) - Method in class io.protostuff.Pipe.Schema
-
- writeTo(Output, T) - Method in interface io.protostuff.Schema
-
Serializes a message/object to the
output.
- writeUInt32(int, int, boolean) - Method in class io.protostuff.FilterOutput
-
- writeUInt32(int, int, boolean) - Method in interface io.protostuff.Output
-
Writes an unsigned int field.
- writeUInt64(int, long, boolean) - Method in class io.protostuff.FilterOutput
-
- writeUInt64(int, long, boolean) - Method in interface io.protostuff.Output
-
Writes an unsigned long field.
- writeUTF8(String, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StreamedStringSerializer
-
Writes the utf8-encoded bytes from the string into the
LinkedBuffer.
- writeUTF8(String, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
-
Writes the utf8-encoded bytes from the string into the
LinkedBuffer.
- writeUTF8FixedDelimited(String, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StreamedStringSerializer
-
The length of the utf8 bytes is written first (big endian) before the string - which is fixed 2-bytes.
- writeUTF8FixedDelimited(String, boolean, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StreamedStringSerializer
-
The length of the utf8 bytes is written first before the string - which is fixed 2-bytes.
- writeUTF8FixedDelimited(String, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
-
The length of the utf8 bytes is written first (big endian) before the string - which is fixed 2-bytes.
- writeUTF8FixedDelimited(String, boolean, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
-
The length of the utf8 bytes is written first before the string - which is fixed 2-bytes.
- writeUTF8VarDelimited(String, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StreamedStringSerializer
-
The length of the utf8 bytes is written first before the string - which is a variable int (1 to 5 bytes).
- writeUTF8VarDelimited(String, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
-
The length of the utf8 bytes is written first before the string - which is a variable int (1 to 5 bytes).
- writeVarInt32(int, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-
- writeVarInt64(long, WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
-