mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-21 05:45:19 +00:00
ZLIB: Start optimization.
This commit is contained in:
@@ -1,12 +1,18 @@
|
||||
package bytes
|
||||
|
||||
/*
|
||||
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"
|
||||
|
||||
/*
|
||||
Buffer type helpers
|
||||
*/
|
||||
|
||||
need_endian_conversion :: proc($FT: typeid, $TT: typeid) -> (res: bool) {
|
||||
|
||||
// true if platform endian
|
||||
|
||||
Reference in New Issue
Block a user