Code example for DataOutput

Methods: writeFloat, writeInt