Example #1
0
def UBInt16(name):
    """Unsigned, big endian 16-bit integer"""
    return FormatField(name, ">", "H")
Example #2
0
def NFloat32(name):
    """Native endianity, 32-bit IEEE floating point number"""
    return FormatField(name, "=", "f")
Example #3
0
def LFloat64(name):
    """Little endian, 64-bit IEEE floating point number"""
    return FormatField(name, "<", "d")
Example #4
0
def SNInt32(name):
    """Signed, native endianity 32-bit integer"""
    return FormatField(name, "=", "l")
Example #5
0
def BFloat32(name):
    """Big endian, 32-bit IEEE floating point number"""
    return FormatField(name, ">", "f")
Example #6
0
def UNInt32(name):
    """Unsigned, native endianity 32-bit integer"""
    return FormatField(name, "=", "L")
Example #7
0
def SNInt8(name):
    """Signed, native endianity 8-bit integer"""
    return FormatField(name, "=", "b")
Example #8
0
def SBInt64(name):
    """Signed, big endian 64-bit integer"""
    return FormatField(name, ">", "q")
Example #9
0
def ULInt8(name):
    """Unsigned, little endian 8-bit integer"""
    return FormatField(name, "<", "B")
Example #10
0
def SBInt16(name):
    """Signed, big endian 16-bit integer"""
    return FormatField(name, ">", "h")
Example #11
0
def SBInt32(name):
    """Signed, big endian 32-bit integer"""
    return FormatField(name, ">", "l")
Example #12
0
def SBInt8(name):
    """Signed, big endian 8-bit integer"""
    return FormatField(name, ">", "b")
Example #13
0
def UBInt64(name):
    """Unsigned, big endian 64-bit integer"""
    return FormatField(name, ">", "Q")
Example #14
0
def UBInt32(name):
    """Unsigned, big endian 32-bit integer"""
    return FormatField(name, ">", "L")
Example #15
0
def UNInt8(name):
    """Unsigned, native endianity 8-bit integer"""
    return FormatField(name, "=", "B")
Example #16
0
def ULInt16(name):
    """Unsigned, little endian 16-bit integer"""
    return FormatField(name, "<", "H")
Example #17
0
def UNInt16(name):
    """Unsigned, native endianity 16-bit integer"""
    return FormatField(name, "=", "H")
Example #18
0
def ULInt32(name):
    """Unsigned, little endian 32-bit integer"""
    return FormatField(name, "<", "L")
Example #19
0
def UNInt64(name):
    """Unsigned, native endianity 64-bit integer"""
    return FormatField(name, "=", "Q")
Example #20
0
def ULInt64(name):
    """Unsigned, little endian 64-bit integer"""
    return FormatField(name, "<", "Q")
Example #21
0
def SNInt16(name):
    """Signed, native endianity 16-bit integer"""
    return FormatField(name, "=", "h")
Example #22
0
def SLInt8(name):
    """Signed, little endian 8-bit integer"""
    return FormatField(name, "<", "b")
Example #23
0
def SNInt64(name):
    """Signed, native endianity 64-bit integer"""
    return FormatField(name, "=", "q")
Example #24
0
def SLInt16(name):
    """Signed, little endian 16-bit integer"""
    return FormatField(name, "<", "h")
Example #25
0
def LFloat32(name):
    """Little endian, 32-bit IEEE floating point number"""
    return FormatField(name, "<", "f")
Example #26
0
def SLInt32(name):
    """Signed, little endian 32-bit integer"""
    return FormatField(name, "<", "l")
Example #27
0
def BFloat64(name):
    """Big endian, 64-bit IEEE floating point number"""
    return FormatField(name, ">", "d")
Example #28
0
def SLInt64(name):
    """Signed, little endian 64-bit integer"""
    return FormatField(name, "<", "q")
Example #29
0
def NFloat64(name):
    """Native endianity, 64-bit IEEE floating point number"""
    return FormatField(name, "=", "d")
Example #30
0
def UBInt8(name):
    """Unsigned, big endian 8-bit integer"""
    return FormatField(name, ">", "B")