Uses of Class
com.google.protobuf.AllocatedBuffer
Packages that use AllocatedBuffer
-
Uses of AllocatedBuffer in com.google.protobuf
Fields in com.google.protobuf declared as AllocatedBufferModifier and TypeFieldDescriptionprivate AllocatedBuffer
BinaryWriter.SafeHeapWriter.allocatedBuffer
private AllocatedBuffer
BinaryWriter.UnsafeHeapWriter.allocatedBuffer
Fields in com.google.protobuf with type parameters of type AllocatedBufferModifier and TypeFieldDescription(package private) final ArrayDeque
<AllocatedBuffer> BinaryWriter.buffers
Methods in com.google.protobuf that return AllocatedBufferModifier and TypeMethodDescriptionabstract AllocatedBuffer
BufferAllocator.allocateDirectBuffer
(int capacity) Allocates a direct (i.e.abstract AllocatedBuffer
BufferAllocator.allocateHeapBuffer
(int capacity) Allocates a buffer with the given capacity that is backed by an array on the heap.(package private) final AllocatedBuffer
BinaryWriter.newDirectBuffer()
(package private) final AllocatedBuffer
BinaryWriter.newDirectBuffer
(int capacity) (package private) final AllocatedBuffer
BinaryWriter.newHeapBuffer()
(package private) final AllocatedBuffer
BinaryWriter.newHeapBuffer
(int capacity) abstract AllocatedBuffer
AllocatedBuffer.position
(int position) Sets this buffer's position.static AllocatedBuffer
AllocatedBuffer.wrap
(byte[] bytes) Creates a newAllocatedBuffer
that is backed by the given array.static AllocatedBuffer
AllocatedBuffer.wrap
(byte[] bytes, int offset, int length) Creates a newAllocatedBuffer
that is backed by the given array.static AllocatedBuffer
AllocatedBuffer.wrap
(ByteBuffer buffer) Creates a newAllocatedBuffer
that is backed by the givenByteBuffer
.private static AllocatedBuffer
AllocatedBuffer.wrapNoCheck
(byte[] bytes, int offset, int length) Methods in com.google.protobuf that return types with arguments of type AllocatedBufferModifier and TypeMethodDescriptionfinal Queue
<AllocatedBuffer> BinaryWriter.complete()
Completes the write operation and returns a queue ofAllocatedBuffer
objects in forward-writing order.Methods in com.google.protobuf with parameters of type AllocatedBufferModifier and TypeMethodDescriptionprivate void
BinaryWriter.SafeDirectWriter.nextBuffer
(AllocatedBuffer allocatedBuffer) private void
BinaryWriter.SafeHeapWriter.nextBuffer
(AllocatedBuffer allocatedBuffer) private void
BinaryWriter.UnsafeDirectWriter.nextBuffer
(AllocatedBuffer allocatedBuffer) private void
BinaryWriter.UnsafeHeapWriter.nextBuffer
(AllocatedBuffer allocatedBuffer)