Byte
Bases: FieldValidator[_P, int], Generic[_P]
FieldValidator
_P
int
Generic
Validator for single byte values
Methods
validate_many
Validate multiple byte values
validate_one
validate a single byte value
Attributes
max
min
size
unsigned
value (Iterable[int] | bytes | bytearray) – Byte values to validate
Iterable
bytes
bytearray
TypeError – Wrong type
ValueError – Value out of range
value (int | bytes | bytearray | c_ubyte) – Byte value to validate
c_ubyte