Пример #1
0
        /// <summary>
        /// Gets a PooledBitStream from the static BitStreamPool
        /// </summary>
        /// <returns>PooledBitStream</returns>
        public static PooledBitStream Get()
        {
            PooledBitStream stream = BitStreamPool.GetStream();

            stream.isDisposed = false;
            return(stream);
        }
Пример #2
0
 /// <summary>
 /// Gets a PooledBitStream from the static BitStreamPool
 /// </summary>
 /// <returns>PooledBitStream</returns>
 public static PooledBitStream Get()
 {
     return(BitStreamPool.GetStream());
 }