readContents

open override fun readContents(source: DataInputStream): NBTEnd

Reads the contents of the tag from the given source. The tag ID is supposed to be already read.

For NBTLists, it assumes the subtag type ID as already been read

Throws

IOException

if an error occurred during reading

if the data stream does not respect NBT specs