# Module nom::number::streaming

source · [−]
Expand description

Parsers recognizing numbers, streaming version

## Functions

be_f32

Recognizes a big endian 4 bytes floating point number.

be_f64

Recognizes a big endian 8 bytes floating point number.

be_i8

Recognizes a signed 1 byte integer.

be_i16

Recognizes a big endian signed 2 bytes integer.

be_i24

Recognizes a big endian signed 3 bytes integer.

be_i32

Recognizes a big endian signed 4 bytes integer.

be_i64

Recognizes a big endian signed 8 bytes integer.

be_i128

Recognizes a big endian signed 16 bytes integer.

be_u8

Recognizes an unsigned 1 byte integer.

be_u16

Recognizes a big endian unsigned 2 bytes integer.

be_u24

Recognizes a big endian unsigned 3 byte integer.

be_u32

Recognizes a big endian unsigned 4 bytes integer.

be_u64

Recognizes a big endian unsigned 8 bytes integer.

be_u128

Recognizes a big endian unsigned 16 bytes integer.

double

Recognizes floating point number in text format and returns a f64.

f32

Recognizes a 4 byte floating point number

f64

Recognizes an 8 byte floating point number

float

Recognizes floating point number in text format and returns a f32.

hex_u32

Recognizes a hex-encoded integer.

i8

Recognizes a signed 1 byte integer

i16

Recognizes a signed 2 byte integer

i24

Recognizes a signed 3 byte integer

i32

Recognizes a signed 4 byte integer

i64

Recognizes a signed 8 byte integer

i128

Recognizes a signed 16 byte integer

le_f32

Recognizes a little endian 4 bytes floating point number.

le_f64

Recognizes a little endian 8 bytes floating point number.

le_i8

Recognizes a signed 1 byte integer.

le_i16

Recognizes a little endian signed 2 bytes integer.

le_i24

Recognizes a little endian signed 3 bytes integer.

le_i32

Recognizes a little endian signed 4 bytes integer.

le_i64

Recognizes a little endian signed 8 bytes integer.

le_i128

Recognizes a little endian signed 16 bytes integer.

le_u8

Recognizes an unsigned 1 byte integer.

le_u16

Recognizes a little endian unsigned 2 bytes integer.

le_u24

Recognizes a little endian unsigned 3 bytes integer.

le_u32

Recognizes a little endian unsigned 4 bytes integer.

le_u64

Recognizes a little endian unsigned 8 bytes integer.

le_u128

Recognizes a little endian unsigned 16 bytes integer.

recognize_float

Recognizes a floating point number in text format and returns the corresponding part of the input.

recognize_float_parts

Recognizes a floating point number in text format

u8

Recognizes an unsigned 1 byte integer

u16

Recognizes an unsigned 2 bytes integer

u24

Recognizes an unsigned 3 byte integer

u32

Recognizes an unsigned 4 byte integer

u64

Recognizes an unsigned 8 byte integer

u128

Recognizes an unsigned 16 byte integer