Skip to content

JReadNull

JReadNull

Description

Read a “null” value from input string.

Parameters

Name Direction Description
si in Current reading position in input string
is_null out Pointer to bool set to true if “null” found

Success

Returns StrIter advanced past “null”

Failure

Returns original StrIter if “null” not found

Usage example (Cross-references)

Usage examples (Cross-references)
    }
    
    StrIter JReadNull(StrIter si, bool *is_null) {
        if (!StrIterRemainingLength(&si)) {
            return si;
            StrIter before_si = si;
            bool    n;
            si = JReadNull(si, &n);
    
            if (si.pos == before_si.pos) {
Last updated on