## Uses of Interface
org.apache.tinkerpop.gremlin.structure.io.Buffer

- Packages that use Buffer
  Package | Description
  --- | ---
  org.apache.tinkerpop.gremlin.structure.io |

- - ### Uses of Buffer in org.apache.tinkerpop.gremlin.structure.io

    Methods in org.apache.tinkerpop.gremlin.structure.io that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | BufferFactory.`create(T value)` Creates a new `Buffer` given a `T` instance.
    `Buffer` | Buffer.`getBytes(int index, byte[] dst)` Transfers this buffer's data to the specified destination starting at the specified absolute `index`.
    `Buffer` | Buffer.`markWriterIndex()` Marks the current writer index in this buffer.
    `Buffer` | Buffer.`readBytes(byte[] destination)` Transfers this buffer's data to the specified destination starting at the current reader index and advances the reader index.
    `Buffer` | Buffer.`readBytes(byte[] destination, int dstIndex, int length)` Transfers this buffer's data to the specified destination starting at the current reader index and advances the reader index.
    `Buffer` | Buffer.`readBytes(ByteBuffer dst)` Transfers this buffer's data to the specified destination starting at the current reader index until the destination's position reaches its limit, and advances the reader index.
    `Buffer` | Buffer.`readBytes(OutputStream out, int length)` Transfers this buffer's data to the specified stream starting at the current reader index and advances the index.
    `Buffer` | Buffer.`readerIndex(int readerIndex)` Sets the reader index of this buffer.
    `Buffer` | Buffer.`resetWriterIndex()` Repositions the current writer index to the marked index in this buffer.
    `Buffer` | Buffer.`retain()` Increases the reference count by `1`.
    `Buffer` | BufferFactory.`wrap(ByteBuffer value)` Wraps a NIO buffer.
    `Buffer` | Buffer.`writeBoolean(boolean value)` Sets the specified boolean at the current writer index and advances the index.
    `Buffer` | Buffer.`writeByte(int value)` Sets the specified byte at the current writer index and advances the index.
    `Buffer` | Buffer.`writeBytes(byte[] src)` Transfers the specified source array's data to this buffer starting at the current writer index and advances the index.
    `Buffer` | Buffer.`writeBytes(byte[] src, int srcIndex, int length)` Transfers the specified source array's data to this buffer starting at the current writer index and advances the index.
    `Buffer` | Buffer.`writeBytes(ByteBuffer src)` Transfers the specified source byte data to this buffer starting at the current writer index and advances the index.
    `Buffer` | Buffer.`writeDouble(double value)` Sets the specified 64-bit floating point number at the current writer index and advances the index.
    `Buffer` | Buffer.`writeFloat(float value)` Sets the specified 32-bit floating point number at the current writer index and advances the index.
    `Buffer` | Buffer.`writeInt(int value)` Sets the specified 32-bit integer at the current writer index and advances the index.
    `Buffer` | Buffer.`writeLong(long value)` Sets the specified 64-bit long integer at the current writer index and advances the index.
    `Buffer` | Buffer.`writerIndex(int writerIndex)` Sets the writer index of this buffer.
    `Buffer` | Buffer.`writeShort(int value)` Sets the specified 16-bit short integer at the current writer index and advances the index.

Copyright © 2013–2020 Apache Software Foundation. All rights reserved.