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