code: public final Deferred<Object> sinkDataPoint(final String metric, 
        final long timestamp, final byte[] value, final Map<String, String> tags, 
        final byte[] tsuid, final short flags) {
      if ((flags & Const.FLAG_FLOAT) != 0x0) {
        return publishDataPoint(metric, timestamp, 
            Internal.extractFloatingPointValue(value, 0, (byte) flags), 
            tags, tsuid);
      } else {
        return publishDataPoint(metric, timestamp, 
            Internal.extractIntegerValue(value, 0, (byte) flags), tags, tsuid);
      }
    }
docs: Called by the TSD when a new, raw data point is published. Because this
  is called after a data point is queued, the value has been converted to a
  byte array so we need to convert it back to an integer or floating point
  value. Instead of requiring every implementation to perform the calculation
  we perform it here and let the implementer deal with the integer or float.
  @param metric The name of the metric associated with the data point
  @param timestamp Timestamp as a Unix epoch in seconds or milliseconds
  (depending on the TSD's configuration)
  @param value The value as a byte array
  @param tags Tagk/v pairs
  @param tsuid Time series UID for the value
  @param flags Indicates if the byte array is an integer or floating point
  value
  @return A deferred without special meaning to wait on if necessary. The
  value may be null but a Deferred must be returned.