Uses of Class
com.google.protobuf.BinaryWriter
-
Uses of BinaryWriter in com.google.protobuf
Subclasses of BinaryWriter in com.google.protobufModifier and TypeClassDescriptionprivate static final class
Writer that uses safe operations on a targetByteBuffer
.private static final class
Writer that uses safe operations on target array.private static final class
Writer that uses unsafe operations on a targetByteBuffer
.private static final class
Writer that uses unsafe operations on a target array.Methods in com.google.protobuf that return BinaryWriterModifier and TypeMethodDescriptionstatic BinaryWriter
BinaryWriter.newDirectInstance
(BufferAllocator alloc) Creates a newBinaryWriter
that will allocate direct (i.e.static BinaryWriter
BinaryWriter.newDirectInstance
(BufferAllocator alloc, int chunkSize) Creates a newBinaryWriter
that will allocate direct (i.e.static BinaryWriter
BinaryWriter.newHeapInstance
(BufferAllocator alloc) Creates a newBinaryWriter
that will allocate heap buffers ofDEFAULT_CHUNK_SIZE
as necessary.static BinaryWriter
BinaryWriter.newHeapInstance
(BufferAllocator alloc, int chunkSize) Creates a newBinaryWriter
that will allocate heap buffers ofchunkSize
as necessary.(package private) static BinaryWriter
BinaryWriter.newSafeDirectInstance
(BufferAllocator alloc, int chunkSize) (package private) static BinaryWriter
BinaryWriter.newSafeHeapInstance
(BufferAllocator alloc, int chunkSize) (package private) static BinaryWriter
BinaryWriter.newUnsafeDirectInstance
(BufferAllocator alloc, int chunkSize) (package private) static BinaryWriter
BinaryWriter.newUnsafeHeapInstance
(BufferAllocator alloc, int chunkSize)