CmisSync.Lib.Streams.OffsetStream.OffsetStream C# (CSharp) 메소드

OffsetStream() 공개 메소드

Initializes a new instance of the CmisSync.Lib.Streams.OffsetStream class.
public OffsetStream ( Stream stream, long offset ) : System
stream Stream /// Stream which should be used after the given offset. ///
offset long /// Size of the empty offset. ///
리턴 System
        public OffsetStream(Stream stream, long offset = 0) : base(stream) {
            if (offset < 0) {
                throw new ArgumentOutOfRangeException("A negative offset is forbidden");
            }

            this.Offset = offset;
        }