Initializerswift-nio 2.72.0NIOCore
init
RecvByteBufferAllocator.swift:74init()
init()
import NIOCore
The core abstractions that make up SwiftNIO.
struct AdaptiveRecvByteBufferAllocator
RecvByteBufferAllocator
which will gracefully increment or decrement the buffer size on the feedback that was recorded.
init(minimum: Int, initial: Int, maximum: Int)
let initial: Int
let maximum: Int
let minimum: Int
func buffer(allocator: ByteBufferAllocator) -> ByteBuffer
func nextBufferSize() -> Int?
mutating func record(actualReadBytes: Int) -> Bool