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
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
passBytesthat the Filter Data Provider expects in the next call to Handleoutbounddata(from:readbytesstartoffset:readbytes:) or 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 Nefilterflowbytesmax.
Return Value
A NEFilterDataVerdict object.