Class SparseRecordDecoder

    • Method Detail

      • doTargetUpdated

        protected void doTargetUpdated​(TokenSettable target)
        Description copied from class: AbstractTokenDecoder
        Sets the target buffer for decoding. Invoked when the target is initially set or updated.
        Specified by:
        doTargetUpdated in class AbstractTokenDecoder
        Parameters:
        target - the buffer into which decoded valued are written
      • decode

        public void decode​(BinaryReader source,
                           boolean skip)
        Description copied from interface: TokenDecoder
        Decodes the encoding at the current position of the reader and stores the value in the current target. The reader is advanced past the encoding as a result.
        Parameters:
        source - the reader containing the encoding
        skip - a value of true means decode the bytes but don't set on target