InitializerSwiftNIOCore

init(buffer:)

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

  • Available when Element is UInt8

init(buffer: ByteBuffer)

Parameters

buffer

The buffer to read.