예제 #1
0
 public BaseInputMedia(Stream stream, string fileName = default) => Media = new InputFile(stream, fileName);
예제 #2
0
 ? WriteStreamAsync(stream, context.Response)
예제 #3
0
 => Init(stream, fileName, cancellationToken);
예제 #4
0
 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)
 {
 }
예제 #7
0
 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)));
 }
예제 #19
0
 AvroPrimitive.Float => await AvroParser.ReadFloatAsync(stream, async, cancellationToken).ConfigureAwait(false),
예제 #20
0
 public ZipDataSource(Stream stream) => _archive = new ZipArchive(stream, ZipArchiveMode.Read, false);
예제 #21
0
 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))
 {