fix CharacteristicBuffer.readinto
This commit is contained in:
parent
71ef507c18
commit
1cfedcb79c
1 changed files with 3 additions and 1 deletions
|
|
@ -80,9 +80,11 @@ static void check_for_deinit(bleio_characteristic_buffer_obj_t *self) {
|
|||
//| :rtype: bytes or None"""
|
||||
//| ...
|
||||
//|
|
||||
//| def readinto(self, buf: WriteableBuffer) -> Optional[int]:
|
||||
//| def readinto(self, buf: WriteableBuffer, nbytes: Optional[int] = None) -> Optional[int]:
|
||||
//| """Read bytes into the ``buf``. Read at most ``len(buf)`` bytes.
|
||||
//|
|
||||
//| You may reduce this maximum read using the ``n_bytes`` argument.
|
||||
//|
|
||||
//| :return: number of bytes read and stored into ``buf``
|
||||
//| :rtype: int or None (on a non-blocking error)"""
|
||||
//| ...
|
||||
|
|
|
|||
Loading…
Reference in a new issue