Start decoding by feeding it some initial data. You must
send it at least enough bytes for the header (> 16 bytes prolly);
try to send it a reasonably sized chunk.
It sets this.unprocessed to be a slice of the *tail* of the initialData
member, indicating leftover data after parsing the header. You will need to
pass this to processData at least once to start decoding the data left over
after the header. See processData for more information.
Start decoding by feeding it some initial data. You must send it at least enough bytes for the header (> 16 bytes prolly); try to send it a reasonably sized chunk.
It sets this.unprocessed to be a slice of the *tail* of the initialData member, indicating leftover data after parsing the header. You will need to pass this to processData at least once to start decoding the data left over after the header. See processData for more information.