Example #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="spaceAssigner"></param>
 /// <param name="stream"></param>
 public SpaceAssigner1DUniqueAllocatorStream(SpaceAssigner1D spaceAssigner, Stream stream)
     : base(spaceAssigner)
 {
     Stream      = stream;
     OnAllocate += SpaceAssigner1DUniqueAllocatorStream_OnAllocate;
 }
 /// <summary>
 ///
 /// </summary>
 /// <param name="spaceAssigner"></param>
 public SpaceAssigner1DUniqueAllocator(SpaceAssigner1D spaceAssigner)
 {
     SpaceAssigner   = spaceAssigner;
     AllocatedSpaces = new Dictionary <byte[], SpaceAssigner1D.Space>(new ArrayEqualityComparer <byte>());
 }