openid / openid4vp_ble

MIT License
7 stars 3 forks source link

endianness and data widths #49

Open sschulz-t opened 8 months ago

sschulz-t commented 8 months ago

As we are dealing with raw byte packets, the documentation should specify the endianness and bit-width for all integers.

E.g. there should be a specification on the data type and the byte representation of the various size requests: https://github.com/openid/openid4vp_ble/blob/e5370d5b7a2fa82b627b67bda6858ff81a64114d/main.md?plain=1#L438

Is this a 16 bit number represented as two bytes? Which byte order? Big- or Little Endian?