Lines Matching refs:bytes

12     payload: Optional[bytes] = field(repr=False, default_factory=bytes, compare=False)
15 def parse_all(cls, span: bytes) -> 'Packet': argument
37 elif typ is bytes:
145 def parse(span: bytes) -> Tuple['RfPacket', bytes]: argument
158 span = bytes([])
198 def serialize(self, payload: bytes = None) -> bytes: argument
212 return bytes(_span)
226 def parse(fields: dict, span: bytes) -> Tuple['PollCommand', bytes]: argument
231 def serialize(self, payload: bytes = None) -> bytes: argument
233 return RfPacket.serialize(self, payload = bytes(_span))
250 def parse(fields: dict, span: bytes) -> Tuple['NfcAPollResponse', bytes]: argument
268 def serialize(self, payload: bytes = None) -> bytes: argument
280 return RfPacket.serialize(self, payload = bytes(_span))
296 def parse(fields: dict, span: bytes) -> Tuple['T4ATSelectCommand', bytes]: argument
305 def serialize(self, payload: bytes = None) -> bytes: argument
311 return RfPacket.serialize(self, payload = bytes(_span))
327 def parse(fields: dict, span: bytes) -> Tuple['T4ATSelectResponse', bytes]: argument
340 def serialize(self, payload: bytes = None) -> bytes: argument
344 return RfPacket.serialize(self, payload = bytes(_span))
359 def parse(fields: dict, span: bytes) -> Tuple['NfcDepSelectCommand', bytes]: argument
368 def serialize(self, payload: bytes = None) -> bytes: argument
374 return RfPacket.serialize(self, payload = bytes(_span))
389 def parse(fields: dict, span: bytes) -> Tuple['NfcDepSelectResponse', bytes]: argument
402 def serialize(self, payload: bytes = None) -> bytes: argument
406 return RfPacket.serialize(self, payload = bytes(_span))
420 def parse(fields: dict, span: bytes) -> Tuple['SelectCommand', bytes]: argument
425 def serialize(self, payload: bytes = None) -> bytes: argument
427 return RfPacket.serialize(self, payload = bytes(_span))
471 def parse(fields: dict, span: bytes) -> Tuple['DeactivateNotification', bytes]: argument
481 def serialize(self, payload: bytes = None) -> bytes: argument
485 return RfPacket.serialize(self, payload = bytes(_span))
499 def parse(fields: dict, span: bytes) -> Tuple['Data', bytes]: argument
503 span = bytes()
506 def serialize(self, payload: bytes = None) -> bytes: argument
509 return RfPacket.serialize(self, payload = bytes(_span))