TARAXA
|
Encapsulation of Frame. More...
#include <RLPXFrameCoder.h>
Public Member Functions | |
RLPXFrameInfo (bytesConstRef _frameHeader) | |
Public Attributes | |
uint32_t const | length = 0 |
Size of frame (excludes padding). Max: 2**24. | |
uint8_t const | padding = 0 |
Length of padding which follows @length. | |
bytes const | data |
Bytes of Header. | |
RLP const | header |
Header RLP. | |
uint16_t const | protocolId = 0 |
Protocol ID as negotiated by handshake. | |
bool const | multiFrame = 0 |
If this frame is part of a sequence. | |
uint16_t const | sequenceId = 0 |
Sequence ID of frame. | |
uint32_t const | totalLength = 0 |
Encapsulation of Frame.
|
explicit |
Constructor. frame-size || protocol-type, [sequence-id[, total-packet-size]]
Total length of packet in first frame of multiframe packet.