Function next [src]

Get the next argument. Returns 'null' if we are at the end. Returned slice is pointing to the iterator's internal buffer. On Windows, the result is encoded as WTF-8. On other platforms, the result is an opaque sequence of bytes with no particular encoding.

Prototype

pub fn next(self: *ArgIterator) ?([:0]const u8)

Parameters

self: *ArgIterator

Source

pub fn next(self: *ArgIterator) ?([:0]const u8) { return self.inner.next(); }