From 182491005b5123ba1f53090b36fd20a022531fe0 Mon Sep 17 00:00:00 2001 From: ArthurHeitmann <37270165+ArthurHeitmann@users.noreply.github.com> Date: Mon, 11 Nov 2024 22:19:59 +0100 Subject: [PATCH] remove some logs --- lib/fileTypeUtils/cpk/cpk.dart | 1 - lib/fileTypeUtils/utils/ByteDataWrapper.dart | 3 --- 2 files changed, 4 deletions(-) diff --git a/lib/fileTypeUtils/cpk/cpk.dart b/lib/fileTypeUtils/cpk/cpk.dart index 2b0d7535..a03ffa18 100644 --- a/lib/fileTypeUtils/cpk/cpk.dart +++ b/lib/fileTypeUtils/cpk/cpk.dart @@ -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); diff --git a/lib/fileTypeUtils/utils/ByteDataWrapper.dart b/lib/fileTypeUtils/utils/ByteDataWrapper.dart index 90f03ff4..b39e3ca0 100644 --- a/lib/fileTypeUtils/utils/ByteDataWrapper.dart +++ b/lib/fileTypeUtils/utils/ByteDataWrapper.dart @@ -5,7 +5,6 @@ import 'dart:typed_data'; import 'package:euc/jis.dart'; -import '../../stateManagement/events/statusInfo.dart'; enum StringEncoding { utf8, @@ -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; @@ -61,7 +59,6 @@ class ByteDataWrapper { i++; } print("Read $position bytes"); - messageLog.add("Loaded file into memory"); return ByteDataWrapper(buffer); } }