diff options
author | tom-overton <tom.overton@outlook.com> | 2021-12-16 13:41:41 -0800 |
---|---|---|
committer | tom-overton <tom.overton@outlook.com> | 2021-12-16 13:41:43 -0800 |
commit | de54f00e18a532366a2a14ef0c9f52b035ab1e0a (patch) | |
tree | ef748acdc76fc40411f724ec46d7ca8b1cf0338f /src/compressors | |
parent | 790af2e873d1c4be0ceb8654f4e48134bc7d51ff (diff) |
Rename FileFunctions functions to call out big endian functions
The little endian functions were used way more often, so they should have short names.
Diffstat (limited to 'src/compressors')
-rw-r--r-- | src/compressors/DSDecmp.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compressors/DSDecmp.java b/src/compressors/DSDecmp.java index 05f8c59..de003d8 100644 --- a/src/compressors/DSDecmp.java +++ b/src/compressors/DSDecmp.java @@ -47,7 +47,7 @@ public class DSDecmp { int length = (data[offset] & 0xFF) | ((data[offset + 1] & 0xFF) << 8) | ((data[offset + 2] & 0xFF) << 16); offset += 3; if (length == 0) { - length = FileFunctions.readFullInt(data, offset); + length = FileFunctions.readFullIntBigEndian(data, offset); offset += 4; } @@ -96,7 +96,7 @@ public class DSDecmp { int length = (data[offset] & 0xFF) | ((data[offset + 1] & 0xFF) << 8) | ((data[offset + 2] & 0xFF) << 16); offset += 3; if (length == 0) { - length = FileFunctions.readFullInt(data, offset); + length = FileFunctions.readFullIntBigEndian(data, offset); offset += 4; } |