1 write to _unmanagedStream
mscorlib (1)
system\io\unmanagedmemorystreamwrapper.cs (1)
32
_unmanagedStream
= stream;
24 references to _unmanagedStream
mscorlib (24)
system\io\unmanagedmemorystreamwrapper.cs (24)
37
get { return
_unmanagedStream
.CanRead; }
42
get { return
_unmanagedStream
.CanSeek; }
47
get { return
_unmanagedStream
.CanWrite; }
54
_unmanagedStream
.Close();
62
_unmanagedStream
.Flush();
76
return (int)
_unmanagedStream
.Capacity;
86
return
_unmanagedStream
.Length;
92
return
_unmanagedStream
.Position;
95
_unmanagedStream
.Position = value;
100
return
_unmanagedStream
.Read(buffer, offset, count);
104
return
_unmanagedStream
.ReadByte();
108
return
_unmanagedStream
.Seek(offset, loc);
113
if (!
_unmanagedStream
._isOpen) __Error.StreamIsClosed();
114
if (!
_unmanagedStream
.CanRead) __Error.ReadNotSupported();
116
byte[] buffer = new byte[
_unmanagedStream
.Length];
117
Buffer.Memcpy(buffer, 0,
_unmanagedStream
.Pointer, 0, (int)
_unmanagedStream
.Length);
122
_unmanagedStream
.Write(buffer, offset, count);
126
_unmanagedStream
.WriteByte(value);
135
if (!
_unmanagedStream
._isOpen) __Error.StreamIsClosed();
176
return
_unmanagedStream
.CopyToAsync(destination, bufferSize, cancellationToken);
182
return
_unmanagedStream
.FlushAsync(cancellationToken);
188
return
_unmanagedStream
.ReadAsync(buffer, offset, count, cancellationToken);
194
return
_unmanagedStream
.WriteAsync(buffer, offset, count, cancellationToken);