Code example for DataOutputStream

Methods: writeBytewriteShortclose