code: private byte[] getRootValue(String rootName) throws IOException
     {
        ByteArrayOutputStream outStream = new ByteArrayOutputStream();
  
        simpleWriteString(rootName, outStream);
        int[] rootVal = {0x20, 0x00, 0x3D, 0x04, 0x30, 0x04, 0x20, 0x00};
        writeInts(rootVal, outStream);
  
        simpleWriteString(hostName, outStream);
  
        return outStream.toByteArray();
     }
docs: Returns the root value.
  
  @param rootName root item name.
  @return root item value
  @throws IOException {@link IOException}