detect
Peek in the source and detect what NbtCompression is used.
Throws
Nbt Decoding Exception
when unable to detect NbtCompression.
Peek in the byteArray and detect what NbtCompression is used.
Throws
Nbt Decoding Exception
when unable to detect NbtCompression.
Peek in the stream and detect what NbtCompression is used.
The stream must support marking.
Throws
the stream does not support marking.