fun InputStream.toBytes(): Bytes
Extension function that converts an InputStream to an instance of Bytes.