Parse hex digits, and use the resultant size to modulate requests for incoming data. A chunk size of 0 terminates the stream, so to read any trailing headers you'll need to provide a delegate handler for receiving those
Prime the available chunk size by reading and parsing the first available line
Read content based on a previously parsed chunk size
Reset ChunkInput to a new InputStream
See Implementation
Parse hex digits, and use the resultant size to modulate requests for incoming data. A chunk size of 0 terminates the stream, so to read any trailing headers you'll need to provide a delegate handler for receiving those