1- // Smdn.Fundamental.Stream.Filtering.dll (Smdn.Fundamental.Stream.Filtering-3.0.0 (netstandard2.1) )
1+ // Smdn.Fundamental.Stream.Filtering.dll (Smdn.Fundamental.Stream.Filtering-3.0.1 )
22// Name: Smdn.Fundamental.Stream.Filtering
3- // AssemblyVersion: 3.0.0 .0
4- // InformationalVersion: 3.0.0 (netstandard2.1)
3+ // AssemblyVersion: 3.0.1 .0
4+ // InformationalVersion: 3.0.1+6c46ed4e09b48a74bff0ead44a7ab8664fcf0ef8
55// TargetFramework: .NETStandard,Version=v2.1
66// Configuration: Release
77
@@ -78,7 +78,7 @@ public override void Apply(Span<byte> buffer, long offsetWithinFilter) {}
7878 protected const int DefaultBufferSize = 1024 ;
7979 protected const bool DefaultLeaveStreamOpen = false ;
8080 protected const int MinimumBufferSize = 2 ;
81- public static readonly FilterStream . IFilter NullFilter ; // = "Smdn.IO.Streams.Filtering.FilterStream+_NullFilter "
81+ public static readonly FilterStream . IFilter NullFilter ; // = "Smdn.IO.Streams.Filtering.FilterStream+NullFilterImpl "
8282
8383 public FilterStream ( Stream stream , FilterStream . IFilter filter , int bufferSize = 1024 , bool leaveStreamOpen = false ) { }
8484 public FilterStream ( Stream stream , IEnumerable < FilterStream . IFilter > filters , int bufferSize = 1024 , bool leaveStreamOpen = false ) { }
@@ -97,13 +97,17 @@ public override void Flush() {}
9797 public override Task FlushAsync ( CancellationToken cancellationToken ) { }
9898 public override int Read ( byte [ ] buffer , int offset , int count ) { }
9999 public override Task < int > ReadAsync ( byte [ ] buffer , int offset , int count , CancellationToken cancellationToken = default ) { }
100+ public override ValueTask < int > ReadAsync ( Memory < byte > buffer , CancellationToken cancellationToken = default ) { }
101+ [ Obsolete ( "use Memory<byte> version instead" ) ]
100102 protected virtual Task < int > ReadAsyncUnchecked ( byte [ ] buffer , int offset , int count , CancellationToken cancellationToken ) { }
103+ protected virtual ValueTask < int > ReadAsyncUnchecked ( Memory < byte > destination , CancellationToken cancellationToken ) { }
101104 protected virtual int ReadUnchecked ( byte [ ] buffer , int offset , int count ) { }
102105 public override long Seek ( long offset , SeekOrigin origin ) { }
103106 public override void SetLength ( long @value ) { }
104107 protected void ThrowIfDisposed ( ) { }
105108 public override void Write ( byte [ ] buffer , int offset , int count ) { }
106109 public override Task WriteAsync ( byte [ ] buffer , int offset , int count , CancellationToken cancellationToken ) { }
110+ public override ValueTask WriteAsync ( ReadOnlyMemory < byte > buffer , CancellationToken cancellationToken = default ) { }
107111 }
108112}
109113
0 commit comments