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