public static Offset <FfiResponses.BytesPackage> CreateBytesPackage(FlatBufferBuilder builder, FfiResponses.ResponseKind kind = FfiResponses.ResponseKind.GameStarted, uint ordering = 0, VectorOffset bufferOffset = default(VectorOffset)) { builder.StartTable(3); BytesPackage.AddBuffer(builder, bufferOffset); BytesPackage.AddOrdering(builder, ordering); BytesPackage.AddKind(builder, kind); return(BytesPackage.EndBytesPackage(builder)); }
public static BytesPackage GetRootAsBytesPackage(ByteBuffer _bb, BytesPackage obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }