- Source
Members
buffer :Buffer
Underlying buffer synced with the properties.
Type:
- Buffer
- Source
length :number
Number of bytes occupied by the layer.
Type:
- number
- Source
osi :OsiModelLayers
Respective protocol OSI layer.
Type:
- Source
Methods
toObject() → {Object}
Returns an object with all protcol fields without owning the underlying buffer. Useful to read all the data and use it without having to deal with binary representation.
- Source
Returns:
- All protocol fields
- Type:
- Object