unipdf/internal/endian/endian.go
2023-10-07 13:58:01 +00:00

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 (_g "encoding/binary";_a "unsafe";);func IsLittle ()bool {return !_e };func init (){const _b =int (_a .Sizeof (0));_ce :=1;_cd :=(*[_b ]byte )(_a .Pointer (&_ce ));if _cd [0]==0{_e =true ;ByteOrder =_g .BigEndian ;}else {ByteOrder =_g .LittleEndian ;
};};var (ByteOrder _g .ByteOrder ;_e bool ;);func IsBig ()bool {return _e };