Home | History | Annotate | Download | only in flatbuffers

Lines Matching refs:Struct

16 Provide pre-compiled struct packers for encoding and decoding.
18 See: https://docs.python.org/2/library/struct.html#format-characters
21 import struct
25 boolean = struct.Struct(compat.struct_bool_decl)
27 uint8 = struct.Struct("<B")
28 uint16 = struct.Struct("<H")
29 uint32 = struct.Struct("<I")
30 uint64 = struct.Struct("<Q")
32 int8 = struct.Struct("<b")
33 int16 = struct.Struct("<h")
34 int32 = struct.Struct("<i")
35 int64 = struct.Struct("<q")
37 float32 = struct.Struct("<f")
38 float64 = struct.Struct("<d")