@taoeffect I think he means something like that:

```javascript
var total = msg.tell();

val.usage = msg.readUInt8();
val.selector = msg.readUInt8();
val.matchingtype = msg.readUInt8();

var alreadyConsumed = total - msg.tell();
val.data = msg.toString('hex', rdata.len - alreadyConsumed)
```

but yeah, Buffers are the way to go.