First time here? Check out the FAQ!
answered 2020-07-13 12:49:32 +0000
You're using gint8 as the type for the fields which is signed, so any value greater than 0x7F is treated as negative and sign extended. Try using guint8.
gint8
guint8