How about avoiding the array literal?
```
char tmp = cast(char)num;
put((&tmp)[0..1]);
```