Web Replay: don't encode/decode primitive types that lack explicit sizes