Beispiel #1
0
 public static Offset<tflite.Buffer> CreateBuffer(FlatBufferBuilder builder,
     VectorOffset dataOffset = default(VectorOffset)) {
   builder.StartTable(1);
   Buffer.AddData(builder, dataOffset);
   return Buffer.EndBuffer(builder);
 }
Beispiel #2
0
 public static Buffer GetRootAsBuffer(ByteBuffer _bb, Buffer obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }