跳到主要内容

peek

返回当前位置的codepoint

声明

int peek(string str, int off)

参数

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

返回值

当前位置的codepoint

使用方式

返回文档