A B C D E F G H I J L M N O P R S T U V W 

A

allocate() - Static method in class io.protostuff.LinkedBuffer
Allocates a new buffer with default size.
allocate(int) - Static method in class io.protostuff.LinkedBuffer
Allocates a new buffer with the specified size.
allocate(int, LinkedBuffer) - Static method in class io.protostuff.LinkedBuffer
Allocates a new buffer with the specified size and appends it to the previous buffer.
asReadOnlyByteBuffer() - Method in class io.protostuff.ByteString
Constructs a new read-only java.nio.ByteBuffer with the same backing byte array.

B

B64Code - Class in io.protostuff
Fast B64 Encoder/Decoder as described in RFC 1421.
begin(Pipe.Schema<?>) - Method in class io.protostuff.Pipe
Begin preliminary input processing.
byteArrayDefaultValue(String) - Static method in class io.protostuff.ByteString
Helper called by generated code to construct default values for byte array fields.
byteAt(int) - Method in class io.protostuff.ByteString
Gets the byte at the given index.
bytesDefaultValue(String) - Static method in class io.protostuff.ByteString
Helper called by generated code to construct default values for bytes fields.
ByteString - Class in io.protostuff
Immutable array of bytes.

C

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
 

D

decode(byte[]) - Static method in class io.protostuff.B64Code
Fast Base 64 decode as described in RFC 1421.
decode(byte[], int, int) - Static method in class io.protostuff.B64Code
Fast Base 64 decode as described in RFC 1421.
decode(String) - Static method in class io.protostuff.B64Code
Returns the base 64 decoded bytes.
decode(String, int, int) - Static method in class io.protostuff.B64Code
Returns the base 64 decoded bytes.
decodeTo(byte[], int, byte[], int, int) - Static method in class io.protostuff.B64Code
Returns the length of the decoded base64 input (written to the provided output byte array).
decodeTo(byte[], int, String, int, int) - Static method in class io.protostuff.B64Code
Returns the length of the decoded base64 input (written to the provided output byte array).
DEFAULT_BUFFER_SIZE - Static variable in class io.protostuff.LinkedBuffer
The default buffer size for a LinkedBuffer.
deser(byte[]) - Static method in class io.protostuff.StringSerializer.STRING
 
deser(byte[], int, int) - Static method in class io.protostuff.StringSerializer.STRING
 
drain(WriteSession, LinkedBuffer) - Method in enum io.protostuff.WriteSink
 

E

EMPTY - Static variable in class io.protostuff.ByteString
Empty ByteString.
EMPTY_BYTE_ARRAY - Static variable in class io.protostuff.ByteString
Empty byte array.
EMPTY_STRING - Static variable in class io.protostuff.ByteString
Empty String.
encode(byte[]) - Static method in class io.protostuff.B64Code
Fast Base 64 encode as described in RFC 1421.
encode(byte[], int, int) - Static method in class io.protostuff.B64Code
Fast Base 64 encode as described in RFC 1421.
encode(byte[], int, int, WriteSession, LinkedBuffer) - Static method in class io.protostuff.B64Code
Encodes the byte array into the LinkedBuffer and grows when full.
end(Pipe.Schema<?>, Input, boolean) - Method in class io.protostuff.Pipe
End input processing.
EnumLite<E extends Enum<E>> - Interface in io.protostuff
Interface for an enum value for use with code-generated enums.
equals(Object) - Method in class io.protostuff.ByteString
 
equals(ByteString, ByteString, boolean) - Static method in class io.protostuff.ByteString
Returns true if the contents of both match.
equals(byte[]) - Method in class io.protostuff.ByteString
Returns true if the contents of the internal array and the provided array match.
equals(byte[], int, int) - Method in class io.protostuff.ByteString
Returns true if the contents of the internal array and the provided array match.
Exclude - Annotation Type in io.protostuff
A field annotation to configure the field ignored.

F

FilterInput<F extends Input> - Class in io.protostuff
A FilterInput contains some other input, which it uses as its basic source of data.
FilterInput(F) - Constructor for class io.protostuff.FilterInput
 
FilterOutput<F extends Output> - Class in io.protostuff
A FilterOutput contains some other output, which it uses as its basic sink of data.
FilterOutput(F) - Constructor for class io.protostuff.FilterOutput
 
flush(byte[], int, int) - Method in class io.protostuff.WriteSession
 
flush(byte[], int, int, byte[], int, int) - Method in class io.protostuff.WriteSession
 
flush(LinkedBuffer, byte[], int, int) - Method in class io.protostuff.WriteSession
 
flush(WriteSession, byte[], int, int) - Method in interface io.protostuff.WriteSession.FlushHandler
 
flush(WriteSession, byte[], int, int, byte[], int, int) - Method in interface io.protostuff.WriteSession.FlushHandler
 
flush(WriteSession, LinkedBuffer, byte[], int, int) - Method in interface io.protostuff.WriteSession.FlushHandler
 
flushHandler - Variable in class io.protostuff.WriteSession
 

G

getFieldName(int) - Method in class io.protostuff.CustomSchema
 
getFieldName(int) - Method in class io.protostuff.Pipe.Schema
 
getFieldName(int) - Method in interface io.protostuff.Schema
Gets the field name associated with the number.
getFieldNumber(String) - Method in class io.protostuff.CustomSchema
 
getFieldNumber(String) - Method in class io.protostuff.Pipe.Schema
 
getFieldNumber(String) - Method in interface io.protostuff.Schema
Gets the field number associated with the name.
getJavaType() - Method in enum io.protostuff.WireFormat.FieldType
 
getNumber() - Method in interface io.protostuff.EnumLite
 
getSize() - Method in class io.protostuff.WriteSession
Returns the amount of bytes written in this session.
getTagFieldNumber(int) - Static method in class io.protostuff.WireFormat
Given a tag value, determines the field number (the upper 29 bits).
getTagWireType(int) - Static method in class io.protostuff.WireFormat
Given a tag value, determines the wire type (the lower 3 bits).
getTargetMessage() - Method in exception io.protostuff.UninitializedMessageException
 
getTargetSchema() - Method in exception io.protostuff.UninitializedMessageException
 
getWireType() - Method in enum io.protostuff.WireFormat.FieldType
 
GraphInput - Interface in io.protostuff
An input that is stateful and keeps track of the references.

H

handleUnknownField(int, Schema<T>) - Method in class io.protostuff.FilterInput
 
handleUnknownField(int, Schema<T>) - Method in interface io.protostuff.Input
The underlying implementation should handle the unknown field.
hashCode() - Method in class io.protostuff.ByteString
 
head - Variable in class io.protostuff.WriteSession
The main/root/head buffer of this write session.

I

input - Variable in class io.protostuff.FilterInput
 
Input - Interface in io.protostuff
An Input lets an application read primitive data types and objects from a source of data.
input - Variable in class io.protostuff.Pipe
 
IntSerializer - Class in io.protostuff
Int32/Int64 serialization
io.protostuff - package io.protostuff
 
isCurrentMessageReference() - Method in interface io.protostuff.GraphInput
Returns true if the last message was read as a reference.
isEmpty() - Method in class io.protostuff.ByteString
Returns true if the size is 0, false otherwise.
isInitialized(T) - Method in class io.protostuff.CustomSchema
 
isInitialized(Pipe) - Method in class io.protostuff.Pipe.Schema
Always returns true since we're just transferring data.
isInitialized(T) - Method in interface io.protostuff.Schema
Returns true if there is no required field or if all the required fields are set.
isPackable() - Method in enum io.protostuff.WireFormat.FieldType
 

J

javaType - Variable in enum io.protostuff.WireFormat.FieldType
 

L

LinkedBuffer - Class in io.protostuff
A buffer that wraps a byte array and has a reference to the next buffer for dynamic increase.

M

makeTag(int, int) - Static method in class io.protostuff.WireFormat
Makes a tag value given a field number and wire type.
mergeFrom(Input, T) - Method in class io.protostuff.CustomSchema
 
mergeFrom(Input, Pipe) - Method in class io.protostuff.Pipe.Schema
 
mergeFrom(Input, T) - Method in interface io.protostuff.Schema
Deserializes a message/object from the input.
mergeObject(T, Schema<T>) - Method in class io.protostuff.FilterInput
 
mergeObject(T, Schema<T>) - Method in interface io.protostuff.Input
Merges an object(with schema) field value.
Message<T> - Interface in io.protostuff
The serializable object where its schema handles its serialization and deserialization.
messageFullName() - Method in class io.protostuff.CustomSchema
 
messageFullName() - Method in class io.protostuff.Pipe.Schema
 
messageFullName() - Method in interface io.protostuff.Schema
Returns the full name of the message tied to this schema.
messageName() - Method in class io.protostuff.CustomSchema
 
messageName() - Method in class io.protostuff.Pipe.Schema
 
messageName() - Method in interface io.protostuff.Schema
Returns the simple name of the message tied to this schema.
MIN_BUFFER_SIZE - Static variable in class io.protostuff.LinkedBuffer
The minimum buffer size for a LinkedBuffer.
Morph - Annotation Type in io.protostuff
Used to configure non-final pojos, map interfaces and collection interfaces.

N

newMessage() - Method in class io.protostuff.CustomSchema
 
newMessage() - Method in class io.protostuff.Pipe.Schema
 
newMessage() - Method in interface io.protostuff.Schema
Creates the message/object tied to this schema.
nextBufferSize - Variable in class io.protostuff.WriteSession
The next buffer size used when growing the buffer.
NumberParser - Class in io.protostuff
An IO utility for dealing with raw ascii bytes.

O

out - Variable in class io.protostuff.WriteSession
The sink of this buffer.
output - Variable in class io.protostuff.FilterOutput
 
Output - Interface in io.protostuff
An Output lets an application write primitive data types and objects to a sink of data.
output - Variable in class io.protostuff.Pipe
 

P

parseInt(byte[], int, int, int) - Static method in class io.protostuff.NumberParser
Parse an ascii int from a raw buffer.
parseLong(byte[], int, int, int) - Static method in class io.protostuff.NumberParser
Parse an ascii long from a raw buffer.
Pipe - Class in io.protostuff
Transfers data from an Input to an Output.
Pipe() - Constructor for class io.protostuff.Pipe
 
Pipe.Schema<T> - Class in io.protostuff
Schema for transferring data from a source (Input) to a different sink (Output).
Pipe.Schema(Schema<T>) - Constructor for class io.protostuff.Pipe.Schema
 
ProtostuffException - Exception in io.protostuff
The base io exception for all formats (protobuf/json/xml).
ProtostuffException() - Constructor for exception io.protostuff.ProtostuffException
 
ProtostuffException(String) - Constructor for exception io.protostuff.ProtostuffException
 
ProtostuffException(String, Throwable) - Constructor for exception io.protostuff.ProtostuffException
 
ProtostuffException(Throwable) - Constructor for exception io.protostuff.ProtostuffException
 

R

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
Reads a ByteString field value.
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
Reads a String field value.
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.

S

schema - Variable in class io.protostuff.CustomSchema
 
Schema<T> - Interface in io.protostuff
Handles the serialization and deserialization of a message/object tied to this.
sencode(byte[], int, int, WriteSession, LinkedBuffer) - Static method in class io.protostuff.B64Code
Encodes the byte array into the LinkedBuffer and flushes to the OutputStream when buffer is full.
ser(String) - Static method in class io.protostuff.StringSerializer.STRING
 
sink - Variable in class io.protostuff.WriteSession
The sink of this write session.
size() - Method in class io.protostuff.ByteString
Gets the number of bytes.
size - Variable in class io.protostuff.WriteSession
The actual number of bytes written to the buffer.
StatefulOutput - Interface in io.protostuff
An output that keeps the state of the schema being used.
StreamedStringSerializer - Class in io.protostuff
UTF-8 String serialization
stringDefaultValue(String) - Static method in class io.protostuff.ByteString
Helper called by generated code to construct default values for string fields.
StringSerializer - Class in io.protostuff
UTF-8 String serialization
StringSerializer.STRING - Class in io.protostuff
 

T

Tag - Annotation Type in io.protostuff
A field annotation to configure the field number explicitly.
tail - Variable in class io.protostuff.WriteSession
The last buffer of this write session (This points to head if growing not needed).
targetMessage - Variable in exception io.protostuff.UninitializedMessageException
 
targetSchema - Variable in exception io.protostuff.UninitializedMessageException
 
toByteArray() - Method in class io.protostuff.ByteString
Copies bytes to a byte[].
toByteArray() - Method in class io.protostuff.WriteSession
Returns a single byte array containg all the contents written to the buffer(s).
toString() - Method in class io.protostuff.ByteString
 
toStringUtf8() - Method in class io.protostuff.ByteString
Constructs a new String by decoding the bytes as UTF-8.
transfer(Pipe, Input, Output) - Method in class io.protostuff.Pipe.Schema
Transfer data from the Input to the Output.
transferByteRangeTo(Output, boolean, int, boolean) - Method in class io.protostuff.FilterInput
 
transferByteRangeTo(Output, boolean, int, boolean) - Method in interface io.protostuff.Input
Transfer the byte range to the output.
transferDirect(Pipe.Schema<T>, Pipe, Input, Output) - Static method in class io.protostuff.Pipe
This should not be called directly by applications.
typeClass() - Method in class io.protostuff.CustomSchema
 
typeClass() - Method in class io.protostuff.Pipe.Schema
 
typeClass() - Method in interface io.protostuff.Schema
Gets the class of the message.

U

UninitializedMessageException - Exception in io.protostuff
Thrown when attempting to build a protocol message that is missing required fields.
UninitializedMessageException(Message<?>) - Constructor for exception io.protostuff.UninitializedMessageException
 
UninitializedMessageException(Object, Schema<?>) - Constructor for exception io.protostuff.UninitializedMessageException
 
UninitializedMessageException(String, Message<?>) - Constructor for exception io.protostuff.UninitializedMessageException
 
UninitializedMessageException(String, Object, Schema<?>) - Constructor for exception io.protostuff.UninitializedMessageException
 
updateLast(Object, Object) - Method in interface io.protostuff.GraphInput
Updates the last reference (the tip/end of the index) kept if the lastMessage was indeed the last message.
updateLast(Schema<?>, Schema<?>) - Method in interface io.protostuff.StatefulOutput
Updates the schema if lastSchema was indeed the last schema used.
use(byte[]) - Static method in class io.protostuff.LinkedBuffer
Uses the existing byte array as the internal buffer.
use(byte[], int) - Static method in class io.protostuff.LinkedBuffer
Uses the existing byte array as the internal buffer.

V

valueOf(String) - Static method in enum io.protostuff.WireFormat.FieldType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.protostuff.WireFormat.JavaType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.protostuff.WriteSink
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.protostuff.WireFormat.FieldType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.protostuff.WireFormat.JavaType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.protostuff.WriteSink
Returns an array containing the constants of this enum type, in the order they are declared.

W

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
Writes the stringified double into the LinkedBuffer.
writeDouble(double, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
Writes the stringified double into the LinkedBuffer.
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
Writes the stringified float into the LinkedBuffer.
writeFloat(float, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
Writes the stringified float into the LinkedBuffer.
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
Writes the stringified int into the LinkedBuffer.
writeInt(int, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
Writes the stringified int into the LinkedBuffer.
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
Writes the stringified long into the LinkedBuffer.
writeLong(long, WriteSession, LinkedBuffer) - Static method in class io.protostuff.StringSerializer
Writes the stringified long into the LinkedBuffer.
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
The flexible output for outputs that use WriteSession.
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
Writes the bytes to the OutputStream.
writeTo(DataOutput, ByteString) - Static method in class io.protostuff.ByteString
Writes the bytes to the DataOutput.
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
Writes the contents of the LinkedBuffer into the OutputStream.
writeTo(DataOutput, LinkedBuffer) - Static method in class io.protostuff.LinkedBuffer
Writes the contents of the LinkedBuffer into the DataOutput.
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
 
A B C D E F G H I J L M N O P R S T U V W 

Copyright © 2009–2015. All rights reserved.