public BaseInputMedia(Stream stream, string fileName = default) => Media = new InputFile(stream, fileName);
示例#2
0
 ? WriteStreamAsync(stream, context.Response)
示例#3
0
 => Init(stream, fileName, cancellationToken);
 AvroPrimitive.String => await AvroParser.ReadStringAsync(stream, async, cancellationToken).ConfigureAwait(false),
示例#5
0
 Compression.GZip => new GZipStream(stream, mode),
示例#6
0
 public void Stuff(state currentState, stream route, Dictionary <string, lake> lakes)
 {
 }
 AvroPrimitive.Double => await AvroParser.ReadDoubleAsync(stream, async, cancellationToken).ConfigureAwait(false),
示例#8
0
 return(new AllPassFilter(stream, coefficient, delay));
示例#9
0
 await Load(stream, file.Name, passwordRequestedCallback, defaultPassword);
 public Task Update(stream obj)
 {
     throw new NotImplementedException();
 }
示例#11
0
 return(new NormalizerMonoFilter(stream, presentationLevels, safetyLimit));
示例#12
0
 protected SimpleBinary(Stream stream, bool leaveOpen) => Read(stream, leaveOpen);
示例#13
0
 /// <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);
示例#14
0
 : new RandomAccessStreamWithContentType(stream, contentType);
 => Initialize(stream, streamOwnership, fileName, endianness, encoding ?? Encoding.Default, blockSize);
示例#16
0
 (T)DeserializeNonGeneric(stream, map) !;
示例#17
0
 _writer = new StreamWriter(stream, Encoding.UTF8, bufferSize : 4 * 1024, leaveOpen : true);
示例#18
0
 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),
示例#20
0
 public ZipDataSource(Stream stream) => _archive = new ZipArchive(stream, ZipArchiveMode.Read, false);
 AvroPrimitive.Bytes => await AvroParser.ReadBytesAsync(stream, async, cancellationToken).ConfigureAwait(false),
示例#22
0
文件: Helper.cs 项目: Roydl/Text
 _ => new BufferedStream(stream, size > 0 ? size : GetBufferSize(stream))
示例#23
0
 _baseStream = new ZlibBaseStream(stream, mode, level, ZlibStreamFlavor.ZLIB, leaveOpen);
示例#24
0
 /// <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);
示例#25
0
 Compression.Deflate => new DeflateStream(stream, mode),
示例#26
0
 public ZipArchive(Stream stream, bool caseInsensitive = true) => Load(stream, caseInsensitive);
示例#27
0
文件: MDX.cs 项目: bmjoy/FastMDX
 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();
    }
示例#30
0
 using (Class32 class = new Class32(stream))
 {
示例#31
0
 stream = new EncodingStreamWrapper(stream, encoding, true);
示例#32
0
 using (Class31 class = new Class31(stream))
 {