You can write:
const data = [0xFD.byte, 0x10, 0x20, 0x30]
or
const data = [0xFD.uint32, 0x10, 0x20, 0x30]
It will inherit size and type automatically.
You can write:
const data = [0xFD.byte, 0x10, 0x20, 0x30]
or
const data = [0xFD.uint32, 0x10, 0x20, 0x30]
It will inherit size and type automatically.