public final int position() {
        return position;
    }
Gets the current 0-based position of the parser.

@return Returns the parser character position.
smithy-utils/src/main/java/software/amazon/smithy/utils/SimpleParser.java