NetworkStream

Network stream used by Minecraft (Bedrock Engine) in the network. Integers are encoded as google's varints and lengths are encoded as unsigned varints.

Constructors

this
this(Buffer buffer)
Undocumented in source.
this
this(ubyte[] buffer)
Undocumented in source.
this
this()
Undocumented in source.

Members

Functions

readInt
int readInt()
Undocumented in source. Be warned that the author may not have intended to support it.
readLength
size_t readLength()
Undocumented in source. Be warned that the author may not have intended to support it.
readStringLength
size_t readStringLength()
Undocumented in source. Be warned that the author may not have intended to support it.
writeInt
void writeInt(int value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeLength
void writeLength(size_t value)
Undocumented in source. Be warned that the author may not have intended to support it.
writeStringLength
void writeStringLength(size_t value)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta