ByteLimit
yosoi.scalars.ByteLimit
class ByteLimit(_RustUnsignedResult):
Positive byte limit returned by a policy conversion; units are bytes.
Source: python/yosoi/scalars.py:373
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Methods
Section titled “Methods”as_usize
Section titled “as_usize”def as_usize(self) -> int:
Return converted bytes already checked for platform addressability.