---
title: "init(passBytes:peekBytes:)"
framework: networkextension
role: symbol
role_heading: Initializer
path: "networkextension/nefilterdataverdict/init(passbytes:peekbytes:)"
---

# init(passBytes:peekBytes:)

Creates a verdict that tells the system to pass a chunk of network data to its final destination, and specifies the next chunk of data to provide.

## Declaration

```swift
init(passBytes: Int, peekBytes: Int)
```

## Parameters

- `passBytes`: The number of bytes to pass to its final destination.
- `peekBytes`: The number of bytes after the end of the passBytes that the Filter Data Provider expects in the next call to doc://com.apple.networkextension/documentation/NetworkExtension/NEFilterDataProvider/handleOutboundData(from:readBytesStartOffset:readBytes:) or doc://com.apple.networkextension/documentation/NetworkExtension/NEFilterDataProvider/handleInboundData(from:readBytesStartOffset:readBytes:). The Filter Data Provider uses this chunk of data to make its next filtering decision. To see all subsequent bytes, set this parameter to doc://com.apple.networkextension/documentation/NetworkExtension/NEFilterFlowBytesMax.

## Return Value

Return Value A NEFilterDataVerdict object.

## See Also

### Creating data verdicts

- [allow()](networkextension/nefilterdataverdict/allow().md)
- [drop()](networkextension/nefilterdataverdict/drop().md)
- [pause()](networkextension/nefilterdataverdict/pause().md)
- [remediateVerdict(withRemediationURLMapKey:remediationButtonTextMapKey:)](networkextension/nefilterdataverdict/remediateverdict(withremediationurlmapkey:remediationbuttontextmapkey:).md)
- [needRules()](networkextension/nefilterdataverdict/needrules().md)
