Code example for DataOutputStream

Methods: flush, writeBytes