Inventory vector.
Methods
(static) encode(buf) → {Buffer}
Encode inventory vector.
Parameters:
Name | Type | Description |
---|---|---|
buf |
Buffer | Payload to calculate the inventory vector for |
- Source:
Returns:
Encoded inv_vect
.
- Type
- Buffer