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)