create static method

Future<ZxTape> create(
  1. Uint8List bytes
)

Static method of creating an instance of ZxTape object. Incoming byte array must be specified.

Implementation

static Future<ZxTape> create(Uint8List bytes) async {
  var tape = ZxTape._create(bytes.buffer.asByteData());
  return tape;
}