public static Offset <CreditStatus> CreateCreditStatus(FlatBufferBuilder builder, int availableCredits = -1) { builder.StartObject(1); CreditStatus.AddAvailableCredits(builder, availableCredits); return(CreditStatus.EndCreditStatus(builder)); }
public static CreditStatus GetRootAsCreditStatus(ByteBuffer _bb, CreditStatus obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }