mirror of
https://github.com/unidoc/unipdf.git
synced 2025-04-29 13:48:54 +08:00
12 lines
745 B
Go
12 lines
745 B
Go
//
|
|
// Copyright 2020 FoxyUtils ehf. All rights reserved.
|
|
//
|
|
// This is a commercial product and requires a license to operate.
|
|
// A trial license can be obtained at https://unidoc.io
|
|
//
|
|
// DO NOT EDIT: generated by unitwist Go source code obfuscator.
|
|
//
|
|
// Use of this source code is governed by the UniDoc End User License Agreement
|
|
// terms that can be accessed at https://unidoc.io/eula/
|
|
|
|
package endian ;import (_f "encoding/binary";_b "unsafe";);var (ByteOrder _f .ByteOrder ;_fg bool ;);func init (){const _d =int (_b .Sizeof (0));_aa :=1;_ge :=(*[_d ]byte )(_b .Pointer (&_aa ));if _ge [0]==0{_fg =true ;ByteOrder =_f .BigEndian ;}else {ByteOrder =_f .LittleEndian ;};};func IsBig ()bool {return _fg };func IsLittle ()bool {return !_fg }; |