code: private void writeName(DataOutputStream os, MLArray array) throws IOException
      {
          ByteArrayOutputStream buffer = new ByteArrayOutputStream();
          DataOutputStream bufferDOS = new DataOutputStream(buffer);
  
          byte[] nameByteArray = array.getNameToByteArray();
          buffer = new ByteArrayOutputStream();
          bufferDOS = new DataOutputStream(buffer);
          bufferDOS.write( nameByteArray );
          OSArrayTag tag = new OSArrayTag(MatDataTypes.miINT8, buffer.toByteArray() );
          tag.writeTo( os );
      }
docs: Writes MATRIX name into <code>OutputStream</code>.
  
  @param os - <code>OutputStream</code>
  @param array - a <code>MLArray</code>
  @throws IOException