asInput

fun InputStream.asInput(
    pool: ObjectPool<ChunkBuffer> = ChunkBuffer.Pool
): Input