diff options
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 |