Structs
The following structs are available globally.
-
An implementation of a Circular Buffer.
The ring buffer is agnostic about the data type it stores, and deals directly with bytes.
Note
The buffer internally rounds up
capacityto the nearest page size. To determine the actual capacity of the buffer, check the return value ofcapacityafter initialization.Note
This class is thread-safe.
See moreSeealso
Declaration
Swift
public struct RingBuffer
View on GitHub
Structs Reference