logo和名称替换
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
import 'dart:io';
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:hgmj/extension/extensions.dart';
|
||||
import 'package:hgmj/hj_utils/text_util.dart';
|
||||
import 'package:hgmj/tools_base/debug_log.dart';
|
||||
import 'package:wydj/extension/extensions.dart';
|
||||
import 'package:wydj/hj_utils/text_util.dart';
|
||||
import 'package:wydj/tools_base/debug_log.dart';
|
||||
|
||||
const KB_SIZE = 1024;
|
||||
const MB_SIZE = 1024 * KB_SIZE;
|
||||
@@ -34,7 +34,8 @@ class FileUtil {
|
||||
/// [offset] 起始偏移位置
|
||||
/// [blockSize] 分块大小
|
||||
/// [file] 文件
|
||||
static Future<Uint8List> getFileBlock(int offset, int blockSize, File file) async {
|
||||
static Future<Uint8List> getFileBlock(
|
||||
int offset, int blockSize, File file) async {
|
||||
RandomAccessFile? accessFile;
|
||||
try {
|
||||
accessFile = await file.open();
|
||||
|
||||
Reference in New Issue
Block a user