static void writeHeader ( DataOutputStream out , DataChecksum checksum ) throws IOException { writeHeader ( out , new BlockMetadataHeader ( METADATA_VERSION , checksum ) ) ; }
Writes all the fields till the beginning of checksum .