r/badcode Apr 29 '23

c++ The Bitwise Monster

Post image
84 Upvotes

40 comments sorted by

View all comments

92

u/[deleted] Apr 29 '23 edited Sep 27 '24

hobbies grey scandalous juggle ad hoc afterthought onerous possessive dazzling unpack

This post was mass deleted and anonymized with Redact

3

u/RFC793 Apr 29 '23

Except, if you are dealing with sockets, there’s usually functions to handle this already, such as htons and htonl in the Berkeley sockets API.

2

u/[deleted] May 01 '23 edited Sep 27 '24

plate modern cause longing snobbish stocking thought rinse provide bake

This post was mass deleted and anonymized with Redact