- 博客(2)
- 收藏
- 关注
转载 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
转载 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
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人