Skip to content
YosoiDocs

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.

def as_usize(self) -> int:

Return converted bytes already checked for platform addressability.

Source: python/yosoi/scalars.py:376