unipdf/internal/endian/endian.go
2020-08-27 21:45:09 +00:00

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