Using strace to compare outputs of two different binaries, I am having trouble determining what the values written actually are.
write(3, "g\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
write(4, "g\377\7\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 4096) = 4096
The difference from the first to second seems to be \377\377 to \7\0, but what encoding are these using? These should be decimal values but I do not know how to convert them to compare them.