Classic stream implementation where every number is read as either big or little endian. String's length is an unsigned short and other array's lengths are unigned integers.
Network stream used by Minecraft (Bedrock Engine) in the network. Integers are encoded as google's varints and lengths are encoded as unsigned varints.
Abstract stream of data to read and write tags.