Skip to content

Float

Float

from_bytes classmethod

from_bytes(bytes_: bytes, ver: Version = Version(0)) -> float

from_file classmethod

from_file(filepath: str) -> float

from_stream classmethod

from_stream(value: ByteStream, ver: Version = Version(0)) -> float

to_bytes classmethod

to_bytes(value: float) -> bytes

to_file classmethod

to_file(filepath: str, value: float)

f32

Bases: Float

[De]serialize a float with a width of 4 bytes

f64

Bases: Float

[De]serialize a float with a width of 8 bytes