List of usage examples for java.io DataOutput writeByte
void writeByte(int v) throws IOException;
v
. From source file:uk.ac.cam.eng.extraction.hadoop.datatypes.ProvenanceCountMap.java
@Override public void write(DataOutput out) throws IOException { out.writeByte(instance.size()); for (Entry<ByteWritable, IntWritable> entry : instance.entrySet()) { entry.getKey().write(out);/* w w w . ja v a 2 s. c om*/ entry.getValue().write(out); } }