Read data until a specific pattern is found
Future<Uint8List> readUntil(List<int> pattern, {int? maxLength});