github.com/unidoc/unipdf/v3@v3.55.0/internal/endian/endian.go (about)

     1  //
     2  // Copyright 2020 FoxyUtils ehf. All rights reserved.
     3  //
     4  // This is a commercial product and requires a license to operate.
     5  // A trial license can be obtained at https://unidoc.io
     6  //
     7  // DO NOT EDIT: generated by unitwist Go source code obfuscator.
     8  //
     9  // Use of this source code is governed by the UniDoc End User License Agreement
    10  // terms that can be accessed at https://unidoc.io/eula/
    11  
    12  package endian ;import (_e "encoding/binary";_g "unsafe";);func IsBig ()bool {return _d };func init (){const _c =int (_g .Sizeof (0));_f :=1;_ff :=(*[_c ]byte )(_g .Pointer (&_f ));if _ff [0]==0{_d =true ;ByteOrder =_e .BigEndian ;}else {ByteOrder =_e .LittleEndian ;
    13  };};var (ByteOrder _e .ByteOrder ;_d bool ;);func IsLittle ()bool {return !_d };