unipdf/internal/endian/endian.go

13 lines
743 B
Go
Raw Normal View History

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-02-07 17:17:49 +00:00
package endian ;import (_e "encoding/binary";_ba "unsafe";);func IsBig ()bool {return _d };func init (){const _g =int (_ba .Sizeof (0));_c :=1;_dc :=(*[_g ]byte )(_ba .Pointer (&_c ));if _dc [0]==0{_d =true ;ByteOrder =_e .BigEndian ;}else {ByteOrder =_e .LittleEndian ;
};};func IsLittle ()bool {return !_d };var (ByteOrder _e .ByteOrder ;_d bool ;);