求助一波
"bytes" log.Printf("[%2x] data:[%2x]", this.command_buffer, data) this.command_buffer.Reset() this.command_buffer.Write(left_bytes) this.command_buffer.Write(data) this.command_buffer.Write(right_bytes) log.Printf("[%2x]", this.command_buffer) this.command_pos += len(data) 2017/05/15 16:31:34 left_bytes:[...阅读全文