MongoDB.Bson.LazyBsonArray.LazyBsonArray C# (CSharp) Method

LazyBsonArray() public method

Initializes a new instance of the LazyBsonArray class.
slice LazyBsonArray cannot be used with an IByteBuffer that needs disposing.
public LazyBsonArray ( IByteBuffer slice ) : System
slice IByteBuffer The slice.
return System
        public LazyBsonArray(IByteBuffer slice)
        {
            if (slice == null)
            {
                throw new ArgumentNullException("slice");
            }

            _slice = slice;
        }