当前位置:首页 » 文件管理 » javasocket清空缓存

javasocket清空缓存

发布时间: 2023-07-23 19:40:30

java Socket如何清空接收缓冲区的内容

java.io.InputStream
int available()Returns an estimate of the number of bytes that can be read (or
skipped over) from this input stream without blocking by the next
invocation of a method for this input stream.

skip(long n)Skips over and discards n bytes of data from this input
stream.

热点内容
安卓手机如何强制刷机荣耀 发布:2025-05-20 16:25:01 浏览:511
繁体语言编译器 发布:2025-05-20 16:01:22 浏览:437
wifi密码忘了怎么设置 发布:2025-05-20 15:47:56 浏览:882
宝马x5买什么配置的好 发布:2025-05-20 15:47:49 浏览:44
sql脚本加斜杠 发布:2025-05-20 15:40:21 浏览:622
搭建服务器创建小程序 发布:2025-05-20 15:34:40 浏览:624
精通脚本 发布:2025-05-20 14:42:56 浏览:385
东方财富经典版如何更改密码 发布:2025-05-20 14:42:43 浏览:944
砸口红解压 发布:2025-05-20 14:41:02 浏览:511
配置sp失败怎么办 发布:2025-05-20 14:35:08 浏览:179