BeginFrame()
Encode()
Encodes a given block of data into current frame. Returns success only if there is space in buffer to encode the entire block of data. If there is no space to encode the entire block of data, the write pointer in frame buffer remains the same.
Encode()
Encodes a given block of data into current frame. Returns success only if there is space in buffer to encode the entire block of data. If there is no space to encode the entire block of data, the write pointer in frame buffer remains the same.
EndFrame()
Ends/finalizes the HDLC frame.