mirror of
https://github.com/unidoc/unipdf.git
synced 2025-04-24 13:48:49 +08:00
13 lines
750 B
Go
13 lines
750 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 (_fb "encoding/binary";_a "unsafe";);func IsLittle ()bool {return !_af };func init (){const _fbd =int (_a .Sizeof (0));_d :=1;_g :=(*[_fbd ]byte )(_a .Pointer (&_d ));if _g [0]==0{_af =true ;ByteOrder =_fb .BigEndian ;}else {ByteOrder =_fb .LittleEndian ;
|
|
};};var (ByteOrder _fb .ByteOrder ;_af bool ;);func IsBig ()bool {return _af }; |