DataInput, DataOutput implementations