public static Offset <FByteArray> CreateFByteArray(FlatBufferBuilder builder, VectorOffset bytesOffset = default(VectorOffset), FByteDataType type = FByteDataType.UINT8, VectorOffset shapeOffset = default(VectorOffset)) { builder.StartObject(3); FByteArray.AddShape(builder, shapeOffset); FByteArray.AddBytes(builder, bytesOffset); FByteArray.AddType(builder, type); return(FByteArray.EndFByteArray(builder)); }
public static FByteArray GetRootAsFByteArray(ByteBuffer _bb, FByteArray obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }