introduce enum for pack type

* introduces an enum for pack type to use instead of uint8_t
* fixed a few more comments that said params were out instead of in