首页 > 技术文章 > boost 大小端转换

suyunhong 2017-11-23 11:45 原文

boost 中有一个edmian 

里面有转换函数模板

native_to_little<T> 本地转换为小端

native_to_bit<T> 本地转换为大端

推荐阅读