From d1ed742281c10c01110d42b04a1e7f1d92b4a4db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=80=9D=E6=95=8F?= Date: Mon, 29 Aug 2022 09:55:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- device.go | 1 + 1 file changed, 1 insertion(+) diff --git a/device.go b/device.go index 6a887ea..abb409f 100644 --- a/device.go +++ b/device.go @@ -79,6 +79,7 @@ func (cli *RPCClient) run() { // encode gob enc := gob.NewEncoder(buf) cliBuffer := <-cli.FrameChan + log.Printf("get from source bytes: %d", len(cliBuffer.BytesArray[0])) err := enc.Encode(cliBuffer.BytesArray) if err != nil { log.Panic(err)