Code example for DataOutputStream

Methods: writeBytewriteShort, writeBool, writeSlot