read()

描述

读取用户端传送的资料中第一个字元。

read() 是从 Stream 继承而来。

语法


server.read()

参数

无参数

回传

int:回传待读资料中的第一个字元,如果没有资料可以读取回传 -1

See also

GSMServer
ready()
beginWrite()
write()
endWrite()
available()
stop()


函式库参考主页面

The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.