kopia lustrzana https://github.com/micropython/micropython
tests/io/bytesio_ext: Add test for readinto().
rodzic
d22a04d9c4
commit
3dabaae47d
|
@ -17,3 +17,8 @@ print(a.getvalue())
|
|||
|
||||
a.flush()
|
||||
print(a.getvalue())
|
||||
|
||||
a.seek(0)
|
||||
arr = bytearray(10)
|
||||
print(a.readinto(arr))
|
||||
print(arr)
|
||||
|
|
Ładowanie…
Reference in New Issue