Class Type

java.lang.Object
com.google.flatbuffers.Table
com.google.flatbuffers.reflection.Type

public final class Type extends Table
  • Constructor Details

    • Type

      public Type()
  • Method Details

    • ValidateVersion

      public static void ValidateVersion()
    • getRootAsType

      public static Type getRootAsType(ByteBuffer _bb)
    • getRootAsType

      public static Type getRootAsType(ByteBuffer _bb, Type obj)
    • __init

      public void __init(int _i, ByteBuffer _bb)
    • __assign

      public Type __assign(int _i, ByteBuffer _bb)
    • baseType

      public byte baseType()
    • element

      public byte element()
    • index

      public int index()
    • fixedLength

      public int fixedLength()
    • baseSize

      public long baseSize()
      The size (octets) of the `base_type` field.
    • elementSize

      public long elementSize()
      The size (octets) of the `element` field, if present.
    • createType

      public static int createType(FlatBufferBuilder builder, byte baseType, byte element, int index, int fixedLength, long baseSize, long elementSize)
    • startType

      public static void startType(FlatBufferBuilder builder)
    • addBaseType

      public static void addBaseType(FlatBufferBuilder builder, byte baseType)
    • addElement

      public static void addElement(FlatBufferBuilder builder, byte element)
    • addIndex

      public static void addIndex(FlatBufferBuilder builder, int index)
    • addFixedLength

      public static void addFixedLength(FlatBufferBuilder builder, int fixedLength)
    • addBaseSize

      public static void addBaseSize(FlatBufferBuilder builder, long baseSize)
    • addElementSize

      public static void addElementSize(FlatBufferBuilder builder, long elementSize)
    • endType

      public static int endType(FlatBufferBuilder builder)