public static Offset <FfiRequests.StringPackage> CreateStringPackage(FlatBufferBuilder builder, FfiRequests.RequestKind kind = FfiRequests.RequestKind.GameStatus, uint ordering = 0, StringOffset bufferOffset = default(StringOffset)) { builder.StartTable(3); StringPackage.AddBuffer(builder, bufferOffset); StringPackage.AddOrdering(builder, ordering); StringPackage.AddKind(builder, kind); return(StringPackage.EndStringPackage(builder)); }
public static StringPackage GetRootAsStringPackage(ByteBuffer _bb, StringPackage obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }