KryoInjection: Use "from*" for InputStream and ByteBuffer, instead of "invert"