Module winnow::binary

source ·
Expand description

Parsers recognizing numbers

Modules§

  • Bit level parsers

Enums§

Functions§

  • Recognizes a big endian 4 bytes floating point number.
  • Recognizes a big endian 8 bytes floating point number.
  • Recognizes a signed 1 byte integer.
  • Recognizes a big endian signed 2 bytes integer.
  • Recognizes a big endian signed 3 bytes integer.
  • Recognizes a big endian signed 4 bytes integer.
  • Recognizes a big endian signed 8 bytes integer.
  • Recognizes a big endian signed 16 bytes integer.
  • Recognizes an unsigned 1 byte integer.
  • Recognizes a big endian unsigned 2 bytes integer.
  • Recognizes a big endian unsigned 3 byte integer.
  • Recognizes a big endian unsigned 4 bytes integer.
  • Recognizes a big endian unsigned 8 bytes integer.
  • Recognizes a big endian unsigned 16 bytes integer.
  • Recognizes a 4 byte floating point number
  • Recognizes an 8 byte floating point number
  • Recognizes a signed 1 byte integer
  • Recognizes a signed 2 byte integer
  • Recognizes a signed 3 byte integer
  • Recognizes a signed 4 byte integer
  • Recognizes a signed 8 byte integer
  • Recognizes a signed 16 byte integer
  • Recognizes a little endian 4 bytes floating point number.
  • Recognizes a little endian 8 bytes floating point number.
  • Recognizes a signed 1 byte integer.
  • Recognizes a little endian signed 2 bytes integer.
  • Recognizes a little endian signed 3 bytes integer.
  • Recognizes a little endian signed 4 bytes integer.
  • Recognizes a little endian signed 8 bytes integer.
  • Recognizes a little endian signed 16 bytes integer.
  • Recognizes an unsigned 1 byte integer.
  • Recognizes a little endian unsigned 2 bytes integer.
  • Recognizes a little endian unsigned 3 byte integer.
  • Recognizes a little endian unsigned 4 bytes integer.
  • Recognizes a little endian unsigned 8 bytes integer.
  • Recognizes a little endian unsigned 16 bytes integer.
  • Gets a number from the first parser, then applies the second parser that many times.
  • Gets a number from the parser and returns a subslice of the input of that size.
  • Gets a number from the first parser, takes a subslice of the input of that size, then applies the second parser on that subslice. If the second parser returns Incomplete, length_value will return an error.
  • Recognizes an unsigned 1 byte integer
  • Recognizes an unsigned 2 bytes integer
  • Recognizes an unsigned 3 byte integer
  • Recognizes an unsigned 4 byte integer
  • Recognizes an unsigned 8 byte integer
  • Recognizes an unsigned 16 byte integer