Пример #1
0
 public static bool IsFixedPrimitive(this Flatbuf.Type t)
 {
     if (t == Flatbuf.Type.Utf8 || t == Flatbuf.Type.Binary)
     {
         return(false);
     }
     return(true);
 }
 public FieldType(Flatbuf.Type type, int offset)
 {
     Type   = type;
     Offset = offset;
 }
 public static FieldType Build <T>(Flatbuf.Type type, Offset <T> offset)
     where T : struct =>
 new FieldType(type, offset.Value);