public void CanSeekFromEnd() { using (var stream = new RingMemoryStream(SmallBufferSize)) { stream.Seek(0, SeekOrigin.End); } }
public void CannotSeekBeyondStart() { using (var stream = new RingMemoryStream(SmallBufferSize)) { stream.Seek(-1, SeekOrigin.Current); } }