internalReadFile function

Future<Uint8List> internalReadFile(
  1. String filename
)

Internal detail. Read a file as bytes. This function only exists so we can override it with a fake version in wav_no_io.dart.

Implementation

Future<Uint8List> internalReadFile(String filename) {
  return File(filename).readAsBytes();
}