Code example for DataOutputStream

Methods: write, writeInt