Versions in this module Expand all Collapse all v1 v1.0.1 Oct 30, 2019 v1.0.0 Oct 30, 2019 Changes in this version + const CompBZIP2 + const CompBrotli + const CompDeflate + const CompLZ4 + const CompLZMA + const CompLZMA2 + const CompNone + const CompSnappy + const Crypto3DES + const CryptoAES + const CryptoBlowfish + const CryptoNone + const CryptoXOR + const CryptoXTEA + const ImCompAstc4x4Rgba + const ImCompAstc8x8Rgba + const ImCompDxt1Rgb + const ImCompDxt1Rgba + const ImCompDxt3Rgba + const ImCompDxt5Rgba + const ImCompEtc1Rgb + const ImCompEtc2EacRgba + const ImCompEtc2Rgb + const ImCompPvrtRgb + const ImCompPvrtRgba + const ImUncompGrayAlpha + const ImUncompGrayscale + const ImUncompR4g4b4a4 + const ImUncompR5g5b5a1 + const ImUncompR5g6b5 + const ImUncompR8g8b8 + const ImUncompR8g8b8a8 + const TypeDirectory + const TypeFontCharData + const TypeFontImage + const TypeImage + const TypeRaw + const TypeText + const TypeVertex + const TypeVorbis + const TypeWave + const VertByte + const VertColor + const VertFloat + const VertHfloat + const VertIndex + const VertInt + const VertNormal + const VertPosition + const VertShort + const VertTangent + const VertTexcoord1 + const VertTexcoord2 + const VertTexcoord3 + const VertTexcoord4 + func Compress(data []byte, compType int) ([]byte, error) + func Decompress(data []byte, compType int) ([]byte, error) + func Decrypt(key, data []byte, cryptoType int) ([]byte, error) + func Encrypt(key, data []byte, cryptoType int) ([]byte, error) + type Data struct + Data []byte + Param1 uint32 + Param2 uint32 + Param3 uint32 + Param4 uint32 + Type uint32 + func LoadResource(reader io.ReadSeeker, rresID int, key []byte) (data Data) + type FileHeader struct + Count uint16 + ID [4]byte + Version uint16 + type InfoHeader struct + CompType uint8 + CryptoType uint8 + DataSize uint32 + DataType uint8 + ID uint32 + Param1 uint32 + Param2 uint32 + Param3 uint32 + Param4 uint32 + PartsCount uint8 + UncompSize uint32