getRecordStreamWithTarPath static method

Future<List<int>> getRecordStreamWithTarPath(
  1. String tarPath
)

Implementation

static Future<List<int>> getRecordStreamWithTarPath(
    String tarPath) async {
  File file = File(tarPath);
  if (!file.existsSync()) {
    throw Exception('${file.path} does not exist');
  }
  return getRecordStreamWithTarData(file);
}