2020-08-27 21:45:09 +00:00
|
|
|
//
|
|
|
|
// 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/
|
|
|
|
|
2023-04-06 19:57:40 +00:00
|
|
|
package endian ;import (_e "encoding/binary";_g "unsafe";);var (ByteOrder _e .ByteOrder ;_b bool ;);func init (){const _eb =int (_g .Sizeof (0));_ga :=1;_ad :=(*[_eb ]byte )(_g .Pointer (&_ga ));if _ad [0]==0{_b =true ;ByteOrder =_e .BigEndian ;}else {ByteOrder =_e .LittleEndian ;
|
|
|
|
};};func IsBig ()bool {return _b };func IsLittle ()bool {return !_b };
|