org.apache.tinkerpop.gremlin.driver.ser.binary

## Class GraphBinaryReader

- java.lang.Object
- - org.apache.tinkerpop.gremlin.driver.ser.binary.GraphBinaryReader

-     public class GraphBinaryReader
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `GraphBinaryReader()`
    `GraphBinaryReader(TypeSerializerRegistry registry)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `<T> T` | `read(ByteBuf buffer)` Reads the type code, information and value of a given buffer with fully-qualified format.
    `<T> T` | `readValue(ByteBuf buffer, Class<T> type, boolean nullable)` Reads a value for an specific type.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### GraphBinaryReader

          public GraphBinaryReader()

    - #### GraphBinaryReader

          public GraphBinaryReader(TypeSerializerRegistry registry)

  - ### Method Detail

    - #### readValue

          public <T> T readValue(ByteBuf buffer,
                                 Class<T> type,
                                 boolean nullable)
                          throws SerializationException

      Reads a value for an specific type.
      Throws:
        `SerializationException`

    - #### read

          public <T> T read(ByteBuf buffer)
                     throws SerializationException

      Reads the type code, information and value of a given buffer with fully-qualified format.
      Throws:
        `SerializationException`

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