26 references to BaseStream
WindowsBase (26)
Base\MS\Internal\IO\Packaging\CompoundFile\VersionedStreamOwner.cs (26)
40
return
BaseStream
.Read(buffer, offset, count);
49
BaseStream
.Write(buffer, offset, count);
58
return
BaseStream
.ReadByte();
67
BaseStream
.WriteByte(b);
100
checked {
BaseStream
.Position = temp + _dataOffset; }
113
checked {
BaseStream
.SetLength(newLength + _dataOffset); }
122
BaseStream
.Flush();
140
return checked(
BaseStream
.Position - _dataOffset);
158
long temp = checked(
BaseStream
.Length - _dataOffset);
172
return (
BaseStream
!= null) &&
BaseStream
.CanRead && IsReadable;
184
return (
BaseStream
!= null) &&
BaseStream
.CanSeek && IsReadable;
196
return (
BaseStream
!= null) &&
BaseStream
.CanWrite && IsUpdatable;
314
if (throwIfEmpty ||
BaseStream
.Length > 0)
353
if (!
BaseStream
.CanWrite)
357
long tempPos = checked(
BaseStream
.Position - _dataOffset);
358
BaseStream
.Seek(0, SeekOrigin.Begin);
361
long offset = version.SaveToStream(
BaseStream
);
373
checked {
BaseStream
.Position = tempPos + _dataOffset; }
386
if ((_fileVersion == null) && (
BaseStream
.Length > 0))
391
if (!
BaseStream
.CanRead)
401
BaseStream
.Seek(0, SeekOrigin.Begin);
406
_fileVersion = FormatVersion.LoadFromStream(
BaseStream
);
425
_dataOffset =
BaseStream
.Position;