/// <summary> /// Initializes a new instance of the <see cref="CircularStream"/> /// class providing an existing <see cref="CircularBuffer"/> as /// it's underlying storage. /// </summary> /// <param name="buffer">A <see cref="CircularBuffer"/>.</param> public CircularStream(CircularBuffer buffer) { this.buffer = buffer; }
/// <summary> /// Initializes a new instance of the <see cref="CircularStream"/> /// class providing an existing <see cref="CircularBuffer"/> as /// it's underlying storage. /// </summary> /// <param name="buffer">A <see cref="CircularBuffer"/>.</param> public CircularStream(CircularBuffer buffer) { this.buffer = buffer; }
/// <summary> /// Initializes a new instance of the <see cref="CircularStream"/> /// class. /// </summary> public CircularStream() { buffer = new CircularBuffer(); }
/// <summary> /// Initializes a new instance of the <see cref="CircularStream"/> /// class. /// </summary> public CircularStream() { buffer = new CircularBuffer(); }