测试
This commit is contained in:
parent
199f1e91fb
commit
139a26705a
|
@ -236,12 +236,11 @@ func (nc *NetCard) runRead() {
|
|||
func (nc *NetCard) runWrite() {
|
||||
var ifce *water.Interface = nc.ifce
|
||||
var err error
|
||||
var buf = bytes.NewBuffer(nil)
|
||||
|
||||
for wframe := range nc.FrameChan {
|
||||
|
||||
log.Printf("get wframes bytes len: %d", len(wframe))
|
||||
buf.Reset()
|
||||
buf.Write(wframe)
|
||||
var buf = bytes.NewBuffer(wframe)
|
||||
|
||||
// zdec, err := zstd.NewReader(buf)
|
||||
// if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user