测试
This commit is contained in:
parent
83ccfab5c7
commit
14ad5f7a50
|
@ -261,14 +261,14 @@ func (nc *NetCard) runWrite() {
|
|||
log.Printf("get wframes bytes len: %d", len(wframe))
|
||||
var buf = bytes.NewBuffer(wframe)
|
||||
|
||||
zdec, err := zstd.NewReader(buf)
|
||||
dec := gob.NewDecoder(buf)
|
||||
var bufs [][]byte
|
||||
err := dec.Decode(&bufs)
|
||||
if err != nil {
|
||||
log.Panic(err)
|
||||
}
|
||||
|
||||
dec := gob.NewDecoder(buf)
|
||||
var bufs [][]byte
|
||||
err = dec.Decode(&bufs)
|
||||
zdec, err := zstd.NewReader(buf)
|
||||
if err != nil {
|
||||
log.Panic(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user