ByteBufferView

public struct ByteBufferView : RandomAccessCollection
extension ByteBufferView: MutableCollection
extension ByteBufferView: RangeReplaceableCollection
extension ByteBufferView: Equatable
extension ByteBufferView: Hashable
extension ByteBufferView: ExpressibleByArrayLiteral

A view into a portion of a ByteBuffer.

A ByteBufferView is useful whenever a Collection where Element == UInt8 representing a portion of a ByteBuffer is needed.