Commit 722d6744 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 5ad5b2a4
......@@ -455,6 +455,7 @@ func (zl *zLink) xuint64Unpack(xv interface{}) (uint64, bool) {
// xuint64Pack packs v into big-endian 8-byte string
//
// XXX do we need to emit bytes instead of str?
// XXX adapt to msgpack?
func xuint64Pack(v uint64) string {
var b [8]byte
binary.BigEndian.PutUint64(b[:], v)
......
......@@ -141,6 +141,7 @@ func (zl *zLink) serveRecv() {
// serveRecv1 handles 1 incoming packet.
func (zl *zLink) serveRecv1(pkb *pktBuf) error {
fmt.Printf("RXgo: %q\n", pkb.Payload())
// decode packet
m, err := zl.pktDecode(pkb)
if err != nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment