blob: 20ff9e24091da9509a172623bfbb7a470f464643 [file] [log] [blame]
Austin Schuhe89fa2d2019-08-14 20:24:23 -07001// automatically generated by the FlatBuffers compiler, do not modify
2
3import java.nio.*;
4import java.lang.*;
5import java.util.*;
6import com.google.flatbuffers.*;
7
8@SuppressWarnings("unused")
9public final class BookReader extends Struct {
10 public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
11 public BookReader __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; }
12
13 public int booksRead() { return bb.getInt(bb_pos + 0); }
14 public void mutateBooksRead(int books_read) { bb.putInt(bb_pos + 0, books_read); }
15
16 public static int createBookReader(FlatBufferBuilder builder, int booksRead) {
17 builder.prep(4, 4);
18 builder.putInt(booksRead);
19 return builder.offset();
20 }
21}
22