I have an input string which is in decimal format:

```
var decString = "12345678"; // in hex this is 0xBC614E

```

and I want to convert this to a fixed length hex byte array:

```
byte hexBytes[] // = { 0x00, 0x00, 0xBC, 0x61, 0x4E }

```

I've come up with a few rather convoluted ways to do this but I suspect there is a neat two-liner! Any thoughts? Thanks

UPDATE:

OK I think I may have inadvertently added a level of complexity by having the example showing 5 bytes. Maximum is in fact 4 bytes (FF FF FF FF) = 4294967295. Int64 is fine.