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