Create an iTunes style Hdlr box for use within Meta box
Useful when writing to mp4 that previously didn't contain an mp4 meta atom
Doesnt write the child data but uses it to set the header length, only sets the atoms immediate
data
Mp4BoxHeader hdlrHeader = new Mp4BoxHeader(Mp4AtomIdentifier.HDLR.getFieldName());
hdlrHeader.setLength(Mp4BoxHeader.HEADER_LENGTH + Mp4HdlrBox.ITUNES_META_HDLR_DAT_LENGTH);
ByteBuffer hdlrData = ByteBuffer.allocate(Mp4HdlrBox.ITUNES_META_HDLR_DAT_LENGTH);
hdlrData.put(HANDLER_POS,(byte)0x6d); //mdir
hdlrData.put(HANDLER_POS+1,(byte)0x64);
hdlrData.put(HANDLER_POS+2,(byte)0x69);
hdlrData.put(HANDLER_POS+3,(byte)0x72);
hdlrData.put(RESERVED1_POS,(byte)0x61); //appl
hdlrData.put(RESERVED1_POS+1,(byte)0x70);
hdlrData.put(RESERVED1_POS+2,(byte)0x70);
hdlrData.put(RESERVED1_POS+3,(byte)0x6c);
hdlrData.rewind();
Mp4HdlrBox hdlrBox = new Mp4HdlrBox(hdlrHeader,hdlrData);
return hdlrBox;