Instance Methodswift-nio 2.84.0NIOCore
nextBufferSize
RecvByteBufferAllocator.swift:134func nextBufferSize() -> Int?
func nextBufferSize() -> Int?
s7NIOCore31AdaptiveRecvByteBufferAllocatorV04nextE4SizeSiSgyF
What are these?9MDX
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.
@frozen struct Int
A signed integer value type.
init()
init(minimum: Int, initial: Int, maximum: Int)
let initial: Int
let maximum: Int
let minimum: Int
func buffer(allocator: ByteBufferAllocator) -> ByteBuffer
mutating func record(actualReadBytes: Int) -> Bool