1// automatically generated by the FlatBuffers compiler, do not modify
2export class StructInNestedNS {
3    constructor() {
4        this.bb = null;
5        this.bb_pos = 0;
6    }
7    __init(i, bb) {
8        this.bb_pos = i;
9        this.bb = bb;
10        return this;
11    }
12    a() {
13        return this.bb.readInt32(this.bb_pos);
14    }
15    mutate_a(value) {
16        this.bb.writeInt32(this.bb_pos + 0, value);
17        return true;
18    }
19    b() {
20        return this.bb.readInt32(this.bb_pos + 4);
21    }
22    mutate_b(value) {
23        this.bb.writeInt32(this.bb_pos + 4, value);
24        return true;
25    }
26    static getFullyQualifiedName() {
27        return 'NamespaceA.NamespaceB.StructInNestedNS';
28    }
29    static sizeOf() {
30        return 8;
31    }
32    static createStructInNestedNS(builder, a, b) {
33        builder.prep(4, 8);
34        builder.writeInt32(b);
35        builder.writeInt32(a);
36        return builder.offset();
37    }
38    unpack() {
39        return new StructInNestedNST(this.a(), this.b());
40    }
41    unpackTo(_o) {
42        _o.a = this.a();
43        _o.b = this.b();
44    }
45}
46export class StructInNestedNST {
47    constructor(a = 0, b = 0) {
48        this.a = a;
49        this.b = b;
50    }
51    pack(builder) {
52        return StructInNestedNS.createStructInNestedNS(builder, this.a, this.b);
53    }
54}
55