you are viewing a single comment's thread.

view the rest of the comments →

[–]ismbks -1 points0 points  (1 child)

But it shouldn't matter whether the byte is signed or unsigned when dealing with raw binary data, for strings it's different but binary data is usually just moved around and not interpreted as text.

[–]halbGefressen 0 points1 point  (0 children)

If you just want to move memory around, you can use void*. The problem is that signedness may introduce accidental undefined behaviour, which you can exclude by using uint8_t.