public BaseInputMedia(Stream stream, string fileName = default) => Media = new InputFile(stream, fileName);
? WriteStreamAsync(stream, context.Response)
=> Init(stream, fileName, cancellationToken);
AvroPrimitive.String => await AvroParser.ReadStringAsync(stream, async, cancellationToken).ConfigureAwait(false),
Compression.GZip => new GZipStream(stream, mode),
public void Stuff(state currentState, stream route, Dictionary <string, lake> lakes) { }
AvroPrimitive.Double => await AvroParser.ReadDoubleAsync(stream, async, cancellationToken).ConfigureAwait(false),
return(new AllPassFilter(stream, coefficient, delay));
await Load(stream, file.Name, passwordRequestedCallback, defaultPassword);
public Task Update(stream obj) { throw new NotImplementedException(); }
return(new NormalizerMonoFilter(stream, presentationLevels, safetyLimit));
protected SimpleBinary(Stream stream, bool leaveOpen) => Read(stream, leaveOpen);
/// <summary> /// Creates a new ServerWriter with the given stream and allows to write with it. /// </summary> /// <param name="stream">The stream to write to.</param> public ServerWriter(Stream stream) => _writer = new BinaryWriter(stream, Encoding.UTF8, true);
: new RandomAccessStreamWithContentType(stream, contentType);
=> Initialize(stream, streamOwnership, fileName, endianness, encoding ?? Encoding.Default, blockSize);
(T)DeserializeNonGeneric(stream, map) !;
_writer = new StreamWriter(stream, Encoding.UTF8, bufferSize : 4 * 1024, leaveOpen : true);
public virtual global::Grpc.Core.AsyncUnaryCall <global::Bond.Grpc.IMessage <stream> > shouldBeUnaryAsync(stream request, global::Grpc.Core.Metadata headers = null, global::System.DateTime?deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return(shouldBeUnaryAsync(global::Bond.Grpc.Message.From(request), new global::Grpc.Core.CallOptions(headers, deadline, cancellationToken))); }
AvroPrimitive.Float => await AvroParser.ReadFloatAsync(stream, async, cancellationToken).ConfigureAwait(false),
public ZipDataSource(Stream stream) => _archive = new ZipArchive(stream, ZipArchiveMode.Read, false);
AvroPrimitive.Bytes => await AvroParser.ReadBytesAsync(stream, async, cancellationToken).ConfigureAwait(false),
_ => new BufferedStream(stream, size > 0 ? size : GetBufferSize(stream))
_baseStream = new ZlibBaseStream(stream, mode, level, ZlibStreamFlavor.ZLIB, leaveOpen);
/// <summary> /// Creates a new ServerReader with the given stream and allows to read from it. /// </summary> /// <param name="stream">The stream to write to.</param> public ServerReader(Stream stream) => _reader = new BinaryReader(stream, Encoding.UTF8, true);
Compression.Deflate => new DeflateStream(stream, mode),
public ZipArchive(Stream stream, bool caseInsensitive = true) => Load(stream, caseInsensitive);
public MDX(Stream stream) => LoadFrom(stream, stream.Length - stream.Position);
public double Add(stream rawdata) { //write to files }
public static void Main(string[] args) { stream E = new stream(); E.showdata(); }
using (Class32 class = new Class32(stream)) {
stream = new EncodingStreamWrapper(stream, encoding, true);
using (Class31 class = new Class31(stream)) {