public static Offset <FByteArray> CreateFByteArray(FlatBufferBuilder builder, VectorOffset bytesOffset = default(VectorOffset), FByteDataType type = FByteDataType.PNG) { builder.StartObject(2); 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)); }