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

- Packages that use Buffer
  Package | Description
  --- | ---
  org.apache.tinkerpop.gremlin.driver.ser |
  org.apache.tinkerpop.gremlin.structure.io |
  org.apache.tinkerpop.gremlin.structure.io.binary |
  org.apache.tinkerpop.gremlin.structure.io.binary.types |

- - ### Uses of Buffer in org.apache.tinkerpop.gremlin.driver.ser

    Methods in org.apache.tinkerpop.gremlin.driver.ser that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | NettyBufferFactory.`create(ByteBuf value)`
    `Buffer` | NettyBufferFactory.`wrap(ByteBuffer value)`

    Methods in org.apache.tinkerpop.gremlin.driver.ser with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `static void` | NettyBufferFactory.`readRaw(Buffer buffer, Consumer<ByteBuf> consumer)` Utility method to allow reading from the underlying bytes using a Netty `ByteBuf` instance for interoperability, advancing the reader index of the `Buffer` after the consumer is called.
    `static void` | NettyBufferFactory.`writeRaw(Buffer buffer, Consumer<ByteBuf> consumer)` Allows writing from the underlying bytes using a Netty `ByteBuf` instance for interoperability, advancing the writer index of the `Buffer` after the consumer is called.

  - ### 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.

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

    Methods in org.apache.tinkerpop.gremlin.structure.io.binary with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | GraphBinaryReader.`read(Buffer buffer)` Reads the type code, information and value of a given buffer with fully-qualified format.
    `T` | TypeSerializer.`read(Buffer buffer, GraphBinaryReader context)` Reads the type information and value from the buffer and returns an instance of T.
    `<T> T` | GraphBinaryReader.`readValue(Buffer buffer, Class<T> type, boolean nullable)` Reads a value for an specific type.
    `T` | TypeSerializer.`readValue(Buffer buffer, GraphBinaryReader context, boolean nullable)` Reads the value from the buffer (not the type information) and returns an instance of T.
    `<T> void` | GraphBinaryWriter.`write(T value, Buffer buffer)` Writes an object in fully-qualified format, containing {type_code}{type_info}{value_flag}{value}.
    `void` | TypeSerializer.`write(T value, Buffer buffer, GraphBinaryWriter context)` Writes the type code, information and value to a buffer using the provided allocator.
    `<T> void` | GraphBinaryWriter.`writeFullyQualifiedNull(Class<T> objectClass, Buffer buffer, Object information)` Represents a null value of a specific type, useful when the parent type contains a type parameter that must be specified.
    `<T> void` | GraphBinaryWriter.`writeValue(T value, Buffer buffer, boolean nullable)` Writes a value without including type information.
    `void` | TypeSerializer.`writeValue(T value, Buffer buffer, GraphBinaryWriter context, boolean nullable)` Writes the value to a buffer, composed by the value flag and the sequence of bytes.
    `void` | GraphBinaryWriter.`writeValueFlagNone(Buffer buffer)` Writes a single byte with value 0, representing an unset value_flag.
    `void` | GraphBinaryWriter.`writeValueFlagNull(Buffer buffer)` Writes a single byte representing the null value_flag.

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

    Methods in org.apache.tinkerpop.gremlin.structure.io.binary.types with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `T` | SimpleTypeSerializer.`read(Buffer buffer, GraphBinaryReader context)`
    `protected String` | StringSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected T` | DateSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected TraversalMetrics` | TraversalMetricsSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected OffsetTime` | OffsetTimeSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Tree` | TreeSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected MonthDay` | MonthDaySerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Map.Entry` | MapEntrySerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Map` | MapSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Vertex` | VertexSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected OffsetDateTime` | OffsetDateTimeSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Property` | PropertySerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected List` | ListSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Duration` | DurationSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Set` | SetSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Edge` | EdgeSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected UUID` | UUIDSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected LocalTime` | LocalTimeSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected BigDecimal` | BigDecimalSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected TraversalStrategy` | TraversalStrategySerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `T` | SingleTypeSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected ByteBuffer` | ByteBufferSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected BigInteger` | BigIntegerSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected LocalDateTime` | LocalDateTimeSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Bytecode.Binding` | BindingSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Instant` | InstantSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Lambda` | LambdaSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected E` | EnumSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Graph` | GraphSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Path` | PathSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected ZoneOffset` | ZoneOffsetSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Class` | ClassSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected T` | InetAddressSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Character` | CharSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected VertexProperty` | VertexPropertySerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected T` | PSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Bytecode` | ByteCodeSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Metrics` | MetricsSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected ZonedDateTime` | ZonedDateTimeSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected abstract T` | SimpleTypeSerializer.`readValue(Buffer buffer, GraphBinaryReader context)` Reads a non-nullable value according to the type format.
    `protected LocalDate` | LocalDateSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected YearMonth` | YearMonthSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Traverser` | TraverserSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected BulkSet` | BulkSetSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected Period` | PeriodSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `protected TraversalExplanation` | TraversalExplanationSerializer.`readValue(Buffer buffer, GraphBinaryReader context)`
    `T` | SimpleTypeSerializer.`readValue(Buffer buffer, GraphBinaryReader context, boolean nullable)`
    `void` | SimpleTypeSerializer.`write(T value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | BigDecimalSerializer.`writeValue(BigDecimal value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | BigIntegerSerializer.`writeValue(BigInteger value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | BulkSetSerializer.`writeValue(BulkSet value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | ByteBufferSerializer.`writeValue(ByteBuffer value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | BindingSerializer.`writeValue(Bytecode.Binding value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | ByteCodeSerializer.`writeValue(Bytecode value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | CharSerializer.`writeValue(Character value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | ClassSerializer.`writeValue(Class value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | DurationSerializer.`writeValue(Duration value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | EnumSerializer.`writeValue(E value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | EdgeSerializer.`writeValue(Edge value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | GraphSerializer.`writeValue(Graph value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | InstantSerializer.`writeValue(Instant value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | LambdaSerializer.`writeValue(Lambda value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | ListSerializer.`writeValue(List value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | LocalDateSerializer.`writeValue(LocalDate value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | LocalDateTimeSerializer.`writeValue(LocalDateTime value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | LocalTimeSerializer.`writeValue(LocalTime value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | MapEntrySerializer.`writeValue(Map.Entry value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | MapSerializer.`writeValue(Map value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | MetricsSerializer.`writeValue(Metrics value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | MonthDaySerializer.`writeValue(MonthDay value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | OffsetDateTimeSerializer.`writeValue(OffsetDateTime value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | OffsetTimeSerializer.`writeValue(OffsetTime value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | PathSerializer.`writeValue(Path value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | PeriodSerializer.`writeValue(Period value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | PropertySerializer.`writeValue(Property value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | SetSerializer.`writeValue(Set value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | StringSerializer.`writeValue(String value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | DateSerializer.`writeValue(T value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | SingleTypeSerializer.`writeValue(T value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | InetAddressSerializer.`writeValue(T value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | PSerializer.`writeValue(T value, Buffer buffer, GraphBinaryWriter context)`
    `protected abstract void` | SimpleTypeSerializer.`writeValue(T value, Buffer buffer, GraphBinaryWriter context)` Writes a non-nullable value into a buffer using the provided allocator.
    `void` | SimpleTypeSerializer.`writeValue(T value, Buffer buffer, GraphBinaryWriter context, boolean nullable)`
    `protected void` | TraversalExplanationSerializer.`writeValue(TraversalExplanation value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | TraversalMetricsSerializer.`writeValue(TraversalMetrics value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | TraversalStrategySerializer.`writeValue(TraversalStrategy value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | TraverserSerializer.`writeValue(Traverser value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | TreeSerializer.`writeValue(Tree value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | UUIDSerializer.`writeValue(UUID value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | VertexSerializer.`writeValue(Vertex value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | VertexPropertySerializer.`writeValue(VertexProperty value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | YearMonthSerializer.`writeValue(YearMonth value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | ZonedDateTimeSerializer.`writeValue(ZonedDateTime value, Buffer buffer, GraphBinaryWriter context)`
    `protected void` | ZoneOffsetSerializer.`writeValue(ZoneOffset value, Buffer buffer, GraphBinaryWriter context)`

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