测试
This commit is contained in:
parent
36c4f0edc2
commit
ba3d6a6799
|
@ -265,16 +265,15 @@ func (nc *NetCard) runWrite() {
|
|||
if err != nil {
|
||||
log.Panic(err)
|
||||
}
|
||||
zdec.Close()
|
||||
|
||||
dec := gob.NewDecoder(zdec)
|
||||
dec := gob.NewDecoder(buf)
|
||||
var bufs [][]byte
|
||||
err = dec.Decode(&bufs)
|
||||
if err != nil {
|
||||
log.Panic(err)
|
||||
}
|
||||
|
||||
zdec.Close()
|
||||
|
||||
for _, buf := range bufs {
|
||||
h := md5.New()
|
||||
h.Write(buf)
|
||||
|
|
Loading…
Reference in New Issue
Block a user