Class Type


  • public final class Type
    extends Table
    • Constructor Detail

      • Type

        public Type()
    • Method Detail

      • ValidateVersion

        public static void ValidateVersion()
      • getRootAsType

        public static Type getRootAsType​(ByteBuffer _bb)
      • __init

        public void __init​(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)
      • addBaseType

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

        public static void addElement​(FlatBufferBuilder builder,
                                      byte element)
      • 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)