code: @Override
  	public void write(DataOutputView out) throws IOException {
  		out.writeInt(length);
  		out.writeInt(position);
  
  		out.write(data, 0, position);
  	}
docs: --------------------------------------------------------------------------------------------