@etothepii/satisfactory-file-parser 0.1.22 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -69,7 +69,7 @@ class SaveWriter extends byte_writer_class_1.ByteWriter {
69
69
  static GenerateCompressedChunksFromData(bufferArray, compressionInfo, onBinaryBeforeCompressing, onChunk, alignment = alignment_enum_1.Alignment.LITTLE_ENDIAN) {
70
70
  const errors = [];
71
71
  const totalUncompressedSize = bufferArray.byteLength;
72
- const saveBody = new Uint8Array(bufferArray.byteLength + 4);
72
+ const saveBody = new Uint8Array(bufferArray.byteLength + 8);
73
73
  saveBody.set(new Uint8Array(bufferArray), 4);
74
74
  const miniView = new DataView(saveBody.buffer);
75
75
  miniView.setInt32(0, totalUncompressedSize, alignment === alignment_enum_1.Alignment.LITTLE_ENDIAN);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@etothepii/satisfactory-file-parser",
3
3
  "author": "etothepii",
4
- "version": "0.1.22",
4
+ "version": "0.1.24",
5
5
  "description": "A file parser for satisfactory files. Includes save files and blueprint files.",
6
6
  "types": "./build/index.d.ts",
7
7
  "main": "./build/index.js",