读取文件 - 以字节流的形式
static Uint8List readAsBytesSync(String path) { if (existsSync(path)) { return File(path).readAsBytesSync(); } else { throw FileIOException('路径不存在: $path'); } }