Code example for DataOutput

Methods: write, writeInt