Required Instance Methodswift-nio 2.72.0NIOCore

    record(actualReadBytes:)

    Records the actual number of bytes that were read by the last socket call.

    RecvByteBufferAllocator.swift:28
    mutating func record(actualReadBytes: Int) -> Bool

    Parameters

    actualReadBytes

    The number of bytes that were used by the previous allocated ByteBuffer

    Returns

    true if the next call to buffer may return a bigger buffer then the last call to buffer.

    Other requirements

    Instance members