Class DataEncodingDecoder


  • public class DataEncodingDecoder
    extends Object
    Decodes TM data according to the specification of the DataEncoding This is a generic catch all decoder, relies on specific custom decoders implementing the DataDecoder interface when necessary.
    See Also:
    DataDecoder
    • Method Detail

      • extractRaw

        public Value extractRaw​(DataEncoding de)
        Extracts the raw uncalibrated parameter value from the buffer.
        Returns:
        the extracted value or null if something went wrong - in this case the parameter will be marked with aquisitionStatus = INVALID
      • getRawType

        public static org.yamcs.protobuf.Yamcs.Value.Type getRawType​(DataEncoding encoding)
        return the nominal Value.Type of a raw value corresponding to the given XTCE data encoding definition
        Parameters:
        encoding -
        Returns: