Skip to content

Commit

Permalink
remove some logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurHeitmann committed Nov 11, 2024
1 parent 1526d2e commit 1824910
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/fileTypeUtils/cpk/cpk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ class CpkFileCompressed extends CpkFile {
}

Uint8List decompress(Uint8List compressedData, Uint8List uncompressedHeader) {
print("Decompressing $name...");
var result = Uint8List(uncompressedSize + 0x100);

result.buffer.asUint8List().setRange(0, 0x100, uncompressedHeader);
Expand Down
3 changes: 0 additions & 3 deletions lib/fileTypeUtils/utils/ByteDataWrapper.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import 'dart:typed_data';

import 'package:euc/jis.dart';

import '../../stateManagement/events/statusInfo.dart';

enum StringEncoding {
utf8,
Expand Down Expand Up @@ -48,7 +47,6 @@ class ByteDataWrapper {
return ByteDataWrapper(buffer.buffer);
} else {
print("File is over 2GB, loading in chunks");
messageLog.add("Loading large file into memory...");
var buffer = Uint8List(fileSize).buffer;
var file = File(path).openRead();
int position = 0;
Expand All @@ -61,7 +59,6 @@ class ByteDataWrapper {
i++;
}
print("Read $position bytes");
messageLog.add("Loaded file into memory");
return ByteDataWrapper(buffer);
}
}
Expand Down

0 comments on commit 1824910

Please sign in to comment.