init(buffer:)

    Creates a [UInt8] from the given buffer. The entire readable portion of the buffer will be read.

    ByteBuffer-conversions.swift:22

    You’re reading documentation from an older version of swift-nio.

    A symbol with the same signature as this one exists in the latest stable release of swift-nio.

    init(buffer: ByteBuffer)

    Parameters

    buffer

    The buffer to read.