跳到主要内容

peek

返回当前位置的codepoint

声明

int peek(string str, int off)

参数

参数名描述
str
off当前偏移量

返回值

使用方式

返回文档