CBOR uses big and not little endian
Fix indefinite input parsing