9 using System.Diagnostics;
29 Debug.Assert( capacity > 0 );
41 Debug.Assert(
count > 0 );
43 for (
int i = 0;
i < trueCount; ++
i)
64 for (
int i = 0;
i < trueCount; ++
i)
This class implements a circular buffer
int Put(byte[] source, int offset, int count)
int Get(byte[] destination, int offset, int count)
CircularBuffer(int capacity)
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count