Skip to content

Commit

Permalink
Add note formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TBlueF committed Jun 23, 2024
1 parent 556fbfe commit 69e148f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ try (
MyData myData = blueNBT.read(compressedIn, MyData.class);
}
```
Note that both times we GZIP(De)Compressed our streams before writing/reading. This is because usually all nbt-files are
GZIP-Compressed, BlueNBT does **not** do this for us to allow more flexibility.
Also, make sure to use buffered streams before (de)compression to greatly improve compression-performance.

> [!NOTE]
> Both times we GZIP(De)Compressed our streams before writing/reading. This is because usually all nbt-files are
> GZIP-Compressed, BlueNBT does **not** do this for us to allow more flexibility.
> Also, make sure to use buffered streams before (de)compression to greatly improve compression-performance.

0 comments on commit 69e148f

Please sign in to comment.