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 AllocatedBufferBinaryWriter.SafeHeapWriter.allocatedBufferprivate AllocatedBufferBinaryWriter.UnsafeHeapWriter.allocatedBufferFields in com.google.protobuf with type parameters of type AllocatedBufferModifier and TypeFieldDescription(package private) final ArrayDeque<AllocatedBuffer> BinaryWriter.buffersMethods in com.google.protobuf that return AllocatedBufferModifier and TypeMethodDescriptionabstract AllocatedBufferBufferAllocator.allocateDirectBuffer(int capacity) Allocates a direct (i.e.abstract AllocatedBufferBufferAllocator.allocateHeapBuffer(int capacity) Allocates a buffer with the given capacity that is backed by an array on the heap.(package private) final AllocatedBufferBinaryWriter.newDirectBuffer()(package private) final AllocatedBufferBinaryWriter.newDirectBuffer(int capacity) (package private) final AllocatedBufferBinaryWriter.newHeapBuffer()(package private) final AllocatedBufferBinaryWriter.newHeapBuffer(int capacity) abstract AllocatedBufferAllocatedBuffer.position(int position) Sets this buffer's position.static AllocatedBufferAllocatedBuffer.wrap(byte[] bytes) Creates a newAllocatedBufferthat is backed by the given array.static AllocatedBufferAllocatedBuffer.wrap(byte[] bytes, int offset, int length) Creates a newAllocatedBufferthat is backed by the given array.static AllocatedBufferAllocatedBuffer.wrap(ByteBuffer buffer) Creates a newAllocatedBufferthat is backed by the givenByteBuffer.private static AllocatedBufferAllocatedBuffer.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 ofAllocatedBufferobjects in forward-writing order.Methods in com.google.protobuf with parameters of type AllocatedBufferModifier and TypeMethodDescriptionprivate voidBinaryWriter.SafeDirectWriter.nextBuffer(AllocatedBuffer allocatedBuffer) private voidBinaryWriter.SafeHeapWriter.nextBuffer(AllocatedBuffer allocatedBuffer) private voidBinaryWriter.UnsafeDirectWriter.nextBuffer(AllocatedBuffer allocatedBuffer) private voidBinaryWriter.UnsafeHeapWriter.nextBuffer(AllocatedBuffer allocatedBuffer)