fun <T> parse(handler: (ByteBuffer) -> T): T
Parses the remaining data in buffer as the specified type
handler - the handler for remaining data parsing
handler