- 博客(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 创建socket bind 通
2021-10-09 15:00:27
2212
转载 2021-09-28
flutter中字符串如何转为字节数组bytes? 链接: http://www.findsrc.com/article/flutter_string_to_bytes. String foo = 'Hello world'; //字符串转utf8 List<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
1392
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅