It is better to write an example that uses Inkection more directly.

1) Can you take an implicit injection (commented below).
2) If you need to reference that injection, the two ways I would recommend: Injection.int2BigEndian or Injection.connect[Int, Array[Byte]]