Documentation
¶
Index ¶
- Variables
- func CheckPackage(inFile string, encrypt *Encrypt) error
- func Compress(inFile, outFile string, compressModel HeadVersion, encrypt *Encrypt) error
- func Register(m Model)
- func Uncompress(inFile, outFile string, encrypt *Encrypt) error
- func WriteVersion(i io.Writer, version HeadVersion) error
- type Encrypt
- type HeadVersion
- type Model
Constants ¶
This section is empty.
Variables ¶
View Source
var HeadVersionEndian = binary.BigEndian
Functions ¶
func CheckPackage ¶
func Compress ¶
func Compress(inFile, outFile string, compressModel HeadVersion, encrypt *Encrypt) error
func Uncompress ¶
func WriteVersion ¶
func WriteVersion(i io.Writer, version HeadVersion) error
Types ¶
type HeadVersion ¶
func ParseVersion ¶
func ParseVersion(i *bufio.Reader) (HeadVersion, error)
func (HeadVersion) Len ¶
func (v HeadVersion) Len() int
func (HeadVersion) String ¶
func (v HeadVersion) String() string
Click to show internal directories.
Click to hide internal directories.