+ "to write Portable header.");
}
byte[] header = data.getHeader();
PortableDataOutput output = (PortableDataOutput) out;
DynamicByteBuffer headerBuffer = output.getHeaderBuffer();
out.writeInt(header.length);
out.writeInt(headerBuffer.position());
headerBuffer.put(header);
}
}