ByteBufferView

public struct ByteBufferView : RandomAccessCollection

A read-only 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.