![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
flutter
weixin_42598875
这个作者很懒,什么都没留下…
展开
-
Flutter-UDP基本编程
Flutter-UDP基本编程星野米奥2021年1月14日FLUTTER, 笔记链接: https://www.mengmei.moe/note/1968.html.前言本文将介绍基于dart:io的Socket,进行TCP基本编程,实现双方的监听、连接、数据收发。示例代码:[https://gitee.com/tilongzs/flutter_study_demo/tree/master/socket_udp_test]使用插件:wifi_ip: ^0.0.1创建socketbind通转载 2021-10-09 15:00:27 · 1727 阅读 · 0 评论 -
2021-09-28
flutter中字符串如何转为字节数组bytes?链接: http://www.findsrc.com/article/flutter_string_to_bytes.String foo = 'Hello world';//字符串转utf8List<int> bytes = utf8.encode(foo);print(bytes); //[72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100]//再将字节列表转字符串Strin转载 2021-09-28 16:30:36 · 1104 阅读 · 0 评论