code: public Histogram decode(final int id, 
                                     final byte[] raw_data,
                                     final boolean includes_id) {
      final HistogramDataPointCodec codec = getCodec(id);
      return codec.decode(raw_data, includes_id);
    }
docs: Finds the proper codec and calls it's decode method to return the histogram
  data point for queries or validation.
  @param id The ID of the histogram type to search for.
  @param raw_data The non-null and non-empty byte array to parse. Should NOT
  include the first byte of the ID in the data.
  @param includes_id Whether or not the data includes the ID prefix.
  @return A non-null data point if decoding was successful.