简体   繁体   English

提升asio和endian

[英]boost asio and endian

我不知道,是否会提升asio处理endian?

Asio does convert things like port into network order. Asio确实将端口之类的内容转换为网络顺序。 The conversion functions are not exposed as part of the official interface and are hidden in the detail namespace instead (eg boost::asio::detail::socket_ops::host_to_network_short ). 转换函数不作为官方接口的一部分公开,而是隐藏在详细命名空间中(例如boost :: asio :: detail :: socket_ops :: host_to_network_short )。

boost :: asio :: socket_不执行任何字节顺序转换。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM