This commit is contained in:
黄思敏 2022-08-29 09:55:05 +08:00
parent aced530e9c
commit d1ed742281

View File

@ -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)