public size_t mark() const nothrow pure @safe

Returns

a mark at the current position that can then be used with slice.