Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2639

InputSourceDataInputStream needs to support bitPos1b

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.1
    • 3.4.0
    • Back End
    • None

    Description

      It would be very useful when using Daffodil to parse a stream of data into messages or records, to be able to ask the inputSourceDataInputStream for its position between calls to parse. 

      For this to be meaningful; however, the stream must be positioned at the next bit to read in order to consume the next message. That is, any speculative reads must have been backtracked, not stored as state in Daffodil. 

      The point is to be able to output along with each message, its starting position in the input data stream, thereby discovering the boundary positions in the input stream where each of the messages/records starts, and the length (by looking at the next starting position)

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: