Click here to Skip to main content
15,895,709 members
Articles / Programming Languages / C#

Buffer with overwrite protection and memory allocation on demand

Rate me:
Please Sign up or sign in to vote.
4.57/5 (7 votes)
10 Mar 2008CPOL7 min read 28.2K   244   22  
Implementation of a large memory buffer, with memory allocation on demand and overwrite protection.
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;

namespace Buffers
{
	/// <summary>
	/// Implements a collection of IWriteOnceBufferWord
	/// </summary>
	/// <remarks>This is a readonly collection. The elements can be accessed and their properties used to modify
	/// them but they can't be replaced, added or removed</remarks>
	public interface IWriteOnceBufferWordCollection : IList<IWriteOnceBufferWord>, IEquatable<IWriteOnceBufferWordCollection>
	{

	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) DGT Experts
Spain Spain
I finished my Degree in Industrial Electronics in the year 2000. I worked for 6 years as a Hardware and Software development engineer in Barcelona. On January 2007 I moved to Dublin to work as Software Engineer and I specialised in .NET technologies. Currently I'm consulting for other companies and running my own start up project Trainer Inside (www.trainerinside.com)

Comments and Discussions