From 352494cbb4ad2ddb650b59ce8102da3ea0942e79 Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Mon, 21 Jun 2021 21:05:52 +0200 Subject: ZLIB: Start optimization. --- core/bytes/util.odin | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'core/bytes') 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 . + 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 -- cgit v1.2.3