---
title: "SecTransformCreateReadTransformWithReadStream(_:)"
framework: security
role: symbol
role_heading: Function
path: "security/sectransformcreatereadtransformwithreadstream(_:)"
---

# SecTransformCreateReadTransformWithReadStream(_:)

Creates a read transform from a read stream reference.

## Declaration

```swift
func SecTransformCreateReadTransformWithReadStream(_ inputStream: CFReadStream) -> SecTransform
```

## Parameters

- `inputStream`: The stream that is to be opened and read from when the chain executes.

## Return Value

Return Value A pointer to a new transform. In Objective-C, call the CFRelease function to free this object’s memory when you are done with it.
