File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -1057,6 +1057,15 @@ class UBInt64(BaseStructField):
10571057 PACK_FORMAT = UNPACK_FORMAT = b">Q"
10581058
10591059
1060+ class UBFloat32 (BaseStructField ):
1061+ """Unsigned Big Endian 32-bit float field"""
1062+ PACK_FORMAT = UNPACK_FORMAT = b">f"
1063+
1064+
1065+ class UBFloat64 (BaseStructField ):
1066+ """Unsigned Big Endian 64-bit float field"""
1067+ PACK_FORMAT = UNPACK_FORMAT = b">d"
1068+
10601069# ==============================================================================
10611070# Signed Big Endian
10621071# ==============================================================================
@@ -1159,6 +1168,16 @@ class ULInt64(BaseStructField):
11591168 PACK_FORMAT = UNPACK_FORMAT = b"<Q"
11601169
11611170
1171+ class ULFloat32 (BaseStructField ):
1172+ """Unsigned Little Endian 32-bit float field"""
1173+ PACK_FORMAT = UNPACK_FORMAT = b"<f"
1174+
1175+
1176+ class ULFloat64 (BaseStructField ):
1177+ """Unsigned Little Endian 64-bit float field"""
1178+ PACK_FORMAT = UNPACK_FORMAT = b"<d"
1179+
1180+
11621181# ==============================================================================
11631182# Signed Little Endian
11641183# ==============================================================================
You can’t perform that action at this time.
0 commit comments