1try: 2 import uio 3except ImportError: 4 print("SKIP") 5 raise SystemExit 6 7import micropython 8 9data = b"1234" * 16 10buf = uio.BytesIO(64) 11 12micropython.heap_lock() 13 14buf.write(data) 15 16micropython.heap_unlock() 17 18print(buf.getvalue()) 19