Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • daf:lookAhead(distance, bitSize) 
    • read bitSize bits, where the first bit is located at an offset of distance from the current location
  • Restrictions
    • distance >=0
    • bitSize >= 0
    • distance + bitSize <= Implementation defined limit no less than 512 bits
    • Cannot be called during unparse
    • Error ParseError if looks past EOF
    • Undefined behavior if looks past document boundery when in streaming mode.
    • bitOrder and byteOrder are determined by the current location. Changes between the current location and the location containing the data being read will not be respected.

Examples

The following two elements are equivalent:

...