@SuppressWarnings("UnsafeFinalization")
  public int put(byte[] bytes, int offset) {
    System.arraycopy(magic, 0, bytes, offset, MAGIC_LENGTH);
    return offset + MAGIC_LENGTH;
  }
Put the magic record out to the specified byte array position.
@param bytes  the byte array
@param offset position in the array
@return incremented offset
hbase-common/src/main/java/org/apache/hadoop/hbase/io/hfile/BlockType.java