IKVM11  11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
BaseStreamExtensions.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2
3using java.util.stream;
4
6{
7
8 public static class BaseStreamExtensions
9 {
10
11 public static IEnumerable<T> AsEnumerable<T>(this Stream stream)
12 {
13 return new StreamWrapper<T>(stream);
14 }
15
16 }
17
18}
static IEnumerable< T > AsEnumerable< T >(this Stream stream)
Wraps a Stream to produce an IEnumerable<T>.