File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,8 @@ def get_position(self) -> int:
256
256
def set_position (self , position : int ):
257
257
"""Set the position within the decoding buffer.
258
258
259
- :param position: Integer offset of next position to be decoded from the buffer.
259
+ :param position: Integer offset of next position to be decoded
260
+ from the buffer.
260
261
"""
261
262
self .__pos = position
262
263
@@ -326,7 +327,8 @@ def unpack_hyper(self) -> int:
326
327
return struct .unpack (">q" , data )[0 ]
327
328
328
329
def unpack_float (self ) -> float :
329
- """Decode a 32-bit (single precision) floating point value at the current position.
330
+ """Decode a 32-bit (single precision) floating point value at
331
+ the current position.
330
332
331
333
Advances the internal position by 4 octets."""
332
334
i = self .__pos
@@ -337,7 +339,8 @@ def unpack_float(self) -> float:
337
339
return struct .unpack (">f" , data )[0 ]
338
340
339
341
def unpack_double (self ) -> float :
340
- """Decode a 364-bit (double precision) floating point value at the current position.
342
+ """Decode a 64-bit (double precision) floating point value at
343
+ the current position.
341
344
342
345
Advances the internal position by 4 octets."""
343
346
i = self .__pos
You can’t perform that action at this time.
0 commit comments