flatcc 24.3.25

Build-time convenience utilities for flatbuffers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# automatically generated by the FlatBuffers compiler, do not modify

# namespace: NamespaceB

class UnionInNestedNS(object):
    NONE = 0
    TableInNestedNS = 1

def UnionInNestedNSCreator(unionType, table):
    from flatbuffers.table import Table
    if not isinstance(table, Table):
        return None
    if unionType == UnionInNestedNS().TableInNestedNS:
        return TableInNestedNST.InitFromBuf(table.Bytes, table.Pos)
    return None