Code example for DataOutput

Methods: writeInt, writeLong