摘要: 1.byte[] 切片转uint32 使用binary.BigEndian.Uint32方法转换 buf := make([]byte, 8096) binary.BigEndian.Uint32(buf[:4]) 并发使用建议 1. 共享资源的并发访问使用传统并发原语(如锁,atomic); 2. 阅读全文
posted @ 2021-08-26 18:48 安心晨 阅读(39) 评论(0) 推荐(0) 编辑