diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-06-21 21:05:52 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-06-21 21:05:52 +0200 |
| commit | 352494cbb4ad2ddb650b59ce8102da3ea0942e79 (patch) | |
| tree | 26e0d545c17b6bc64a40550e493a2ba1da648070 /core/bytes | |
| parent | 797c41950a90f75a279a48195baf733903e23ca3 (diff) | |
ZLIB: Start optimization.
Diffstat (limited to 'core/bytes')
| -rw-r--r-- | core/bytes/util.odin | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/core/bytes/util.odin b/core/bytes/util.odin index 1749230db..a93e3e479 100644 --- a/core/bytes/util.odin +++ b/core/bytes/util.odin @@ -1,12 +1,18 @@ package bytes -import "core:intrinsics" -import "core:mem" - /* - Buffer type helpers + Copyright 2021 Jeroen van Rijn <nom@duclavier.com>. + Made available under Odin's BSD-2 license. + + List of contributors: + Jeroen van Rijn: Initial implementation. + + `bytes.Buffer` type conversion helpers. */ +import "core:intrinsics" +import "core:mem" + need_endian_conversion :: proc($FT: typeid, $TT: typeid) -> (res: bool) { // true if platform endian |