aboutsummaryrefslogtreecommitdiff
path: root/core/compress/gzip/doc.odin
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-10-10 12:24:28 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-10-10 12:24:28 +0200
commitece213afca742bb91e9328230fd21b6b94c85662 (patch)
treebd53a386f09c717dfb8c1af903e95599a22ca6a5 /core/compress/gzip/doc.odin
parent4068eeb5fae3981b34a5e5ae96e7c1b0c0eedc85 (diff)
Render examples.
Diffstat (limited to 'core/compress/gzip/doc.odin')
-rw-r--r--core/compress/gzip/doc.odin25
1 files changed, 13 insertions, 12 deletions
diff --git a/core/compress/gzip/doc.odin b/core/compress/gzip/doc.odin
index 8a04c41bd..18f2259cb 100644
--- a/core/compress/gzip/doc.odin
+++ b/core/compress/gzip/doc.odin
@@ -1,17 +1,6 @@
-// A small `GZIP` unpacker.
-package compress_gzip
/*
- Copyright 2021 Jeroen van Rijn <nom@duclavier.com>.
- Made available under Odin's BSD-3 license.
-
- List of contributors:
- Jeroen van Rijn: Initial implementation.
- Ginger Bill: Cosmetic changes.
-
- A small GZIP implementation as an example.
-*/
+A small `GZIP` unpacker.
-/*
Example:
import "core:bytes"
import "core:os"
@@ -88,4 +77,16 @@ Example:
}
bytes.buffer_destroy(&buf)
}
+*/
+package compress_gzip
+
+/*
+ Copyright 2021 Jeroen van Rijn <nom@duclavier.com>.
+ Made available under Odin's BSD-3 license.
+
+ List of contributors:
+ Jeroen van Rijn: Initial implementation.
+ Ginger Bill: Cosmetic changes.
+
+ A small GZIP implementation as an example.
*/ \ No newline at end of file