[#BloombergLP-bslim-FuzzUtil-consumeNumber-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslim.adoc[bslim]::xref:BloombergLP/bslim/FuzzUtil.adoc[FuzzUtil]::consumeNumber :relfileprefix: ../../../ :mrdocs: Return a value of (template parameter) `TYPE` in the range [min .. max]‐‐ where `min` and `max` are the minimum and maximum values representable by the `TYPE` ‐‐ based on at most the next `sizeof(TYPE) + 1` bytes from the specified `fuzzDataView`, and update `fuzzDataView` to reflect the bytes consumed. If `0 == fuzzDataView‐>length()`, return the minimum value of `TYPE`. This function does not participate in overload resolution unless either `bsl::is_integral<TYPE>::value` or `bsl::is_floating_point<TYPE>::value` is `true`. The behavior is undefined if `bsl::is_same<TYPE, bool>::value` or `bsl::is_same<TYPE, long double>` is `true`. == Synopses Declared in `<bslim_fuzzutil.h>` Return a value of (template parameter) `TYPE` in the range [min .. max]‐‐ where `min` and `max` are the minimum and maximum values representable by the `TYPE` ‐‐ based on at most the next `sizeof(TYPE) + 1` bytes from the specified `fuzzDataView`, and update `fuzzDataView` to reflect the bytes consumed. If `0 == fuzzDataView‐>length()`, return the minimum value of `TYPE`. This function does not participate in overload resolution unless either `bsl::is_integral<TYPE>::value` or `bsl::is_floating_point<TYPE>::value` is `true`. The behavior is undefined if `bsl::is_same<TYPE, bool>::value` or `bsl::is_same<TYPE, long double>` is `true`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static TYPE xref:BloombergLP/bslim/FuzzUtil/consumeNumber-0f.adoc[consumeNumber](xref:BloombergLP/bslim/FuzzDataView.adoc[FuzzDataView]* fuzzDataView) requires bsl::is_integral<TYPE>::value; ---- [.small]#xref:BloombergLP/bslim/FuzzUtil/consumeNumber-0f.adoc[_» more..._]# Return a value of (template parameter) `TYPE` in the range [min .. max]‐‐ where `min` and `max` are the minimum and maximum values representable by the `TYPE` ‐‐ based on at most the next `sizeof(TYPE) + 1` bytes from the specified `fuzzDataView`, and update `fuzzDataView` to reflect the bytes consumed. If `0 == fuzzDataView‐>length()`, return the minimum value of `TYPE`. This function does not participate in overload resolution unless either `bsl::is_integral<TYPE>::value` or `bsl::is_floating_point<TYPE>::value` is `true`. The behavior is undefined if `bsl::is_same<TYPE, bool>::value` or `bsl::is_same<TYPE, long double>` is `true`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> static TYPE xref:BloombergLP/bslim/FuzzUtil/consumeNumber-09.adoc[consumeNumber](xref:BloombergLP/bslim/FuzzDataView.adoc[FuzzDataView]* fuzzDataView) requires bsl::is_floating_point<TYPE>::value; ---- [.small]#xref:BloombergLP/bslim/FuzzUtil/consumeNumber-09.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#