Beispiel #1
0
 /// <inheritdoc />
 public byte[] GetBytes()
 {
     return(ManagedStream.ToArray());
 }
 /// <inheritdoc />
 public Task <byte[]> GetBytesAsync()
 {
     //Do this syncronously
     return(Task.FromResult(ManagedStream.ToArray()));
 }