Reads the remains of the chunk header after the chunk type identifier.
stream Stream to be read from.
Size in bytes of the specified chunk excluding the header.
After a user chunk has been located with RwFindStreamChunk() or identified with RwReadStreamChunkType(), it is necessary for the rest of the chunk header to be read before the contents of the chunk is accessed. This is performed by this function. As it returns the number of bytes in the chunk it can also be used before skipping the chunks contents.