• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // <auto-generated>
2 //  automatically generated by the FlatBuffers compiler, do not modify
3 // </auto-generated>
4 
5 using global::System;
6 using global::FlatBuffers;
7 
8 public struct BookReader : IFlatbufferObject
9 {
10   private Struct __p;
11   public ByteBuffer ByteBuffer { get { return __p.bb; } }
__initBookReader12   public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
__assignBookReader13   public BookReader __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
14 
15   public int BooksRead { get { return __p.bb.GetInt(__p.bb_pos + 0); } }
16 
CreateBookReaderBookReader17   public static Offset<BookReader> CreateBookReader(FlatBufferBuilder builder, int BooksRead) {
18     builder.Prep(4, 4);
19     builder.PutInt(BooksRead);
20     return new Offset<BookReader>(builder.Offset);
21   }
22 };
23 
24