readAsBytesSync method
Synchronously reads the entire file contents as a list of bytes.
Throws a FileSystemException if the operation fails.
Implementation
@override
Uint8List readAsBytesSync() {
final file = assertIsFile<ArchiveFileImplementation>(_fs, path);
return file.content;
}