public int readMapHeader() throws IOException {
    return in.readInt();
  }
Reads the header following a <code>Type.MAP</code> code.

@return the number of key-value pairs in the map
@throws IOException
contrib/src/java/org/apache/hadoop/hive/contrib/util/typedbytes/TypedBytesInput.java