This commit is contained in:
shoopea 2019-06-09 22:27:14 +08:00
parent 2bbf85d354
commit 131941eb23

7
msg.go
View File

@ -325,5 +325,12 @@ func zipMessages() ([]byte, error) {
func UnzipMessages(z []byte) error {
log.Printf("UnzipMessages : %d bytes.\n", len(z))
r := bytes.NewReader(z)
zr, err := zip.NewReader(r, len(z))
for _, f := range zr.File {
log.Fprintf("File : %s\n", f.Name)
}
return nil
}