/** GET BINARY DATA */ func (r RelayRequest) GetData() []byte { buf := new(bytes.Buffer) utils.Uint64ListToByteArray(buf, r.Receivers) utils.Write(buf, r.Body) return buf.Bytes() }
/** GET BINARY DATA */ func (l ListResponse) GetData() []byte { buf := new(bytes.Buffer) data, _ := utils.Uint64ListToByteArray(buf, l.List) return data }