Array

extension Array where Element == UInt8

Available where Element == UInt8

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

    Declaration

    Swift

    public init(buffer: ByteBuffer)

    Parameters

    buffer

    The buffer to read.