mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-27 13:43:51 +00:00
December 2014 files
This commit is contained in:
parent
b691c43c44
commit
8fd3ac6e37
2049 changed files with 260190 additions and 134787 deletions
|
|
@ -142,6 +142,14 @@ void DataOutputStream::writeShort(short a)
|
|||
written += 2;
|
||||
}
|
||||
|
||||
void DataOutputStream::writeUnsignedShort(unsigned short a)
|
||||
{
|
||||
stream->write( (a >> 8) & 0xff );
|
||||
stream->write( a & 0xff );
|
||||
// TODO 4J Stu - Error handling?
|
||||
written += 2;
|
||||
}
|
||||
|
||||
//Writes a char to the underlying output stream as a 2-byte value, high byte first.
|
||||
//If no exception is thrown, the counter written is incremented by 2.
|
||||
//Parameters:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue