mirror of
https://github.com/unidoc/unipdf.git
synced 2025-05-02 22:17:06 +08:00
12 lines
747 B
Go
12 lines
747 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 (_a "encoding/binary";_g "unsafe";);var (ByteOrder _a .ByteOrder ;_fd bool ;);func init (){const _gc =int (_g .Sizeof (0));_fa :=1;_gd :=(*[_gc ]byte )(_g .Pointer (&_fa ));if _gd [0]==0{_fd =true ;ByteOrder =_a .BigEndian ;}else {ByteOrder =_a .LittleEndian ;};};func IsLittle ()bool {return !_fd };func IsBig ()bool {return _fd }; |