MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / decode

Method decode

src/core/HistogramDataPointCodec.java:52–53  ·  view source on GitHub ↗

Creates HistogramDataPoint from raw data and timestamp. Note that the data point identifier is separate. @param raw_data The encoded byte array of the histogram data @param includes_id Whether or not to include the id prefix. @return The decoded histogram data point instance

(final byte[] raw_data, 
                                   final boolean includes_id)

Source from the content-addressed store, hash-verified

50 * @return The decoded histogram data point instance
51 */
52 public abstract Histogram decode(final byte[] raw_data,
53 final boolean includes_id);
54
55
56 public abstract byte[] encode(final Histogram data_point,

Callers 2

decodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected