Kinetica   C#   API  Version 7.2.3.0
InputStream.cs
Go to the documentation of this file.
1 
19 using System;
20 using System.IO;
21 
22 namespace Avro.IO
23 {
24  public abstract class InputStream : Stream
25  {
26  public override void Flush()
27  {
28  }
29 
30  public override long Seek(long offset, SeekOrigin origin)
31  {
32  throw new NotSupportedException();
33  }
34 
35  public override void SetLength(long value)
36  {
37  throw new NotSupportedException();
38  }
39 
40  public override void Write(byte[] buffer, int offset, int count)
41  {
42  throw new NotSupportedException();
43  }
44 
45  public override bool CanRead
46  {
47  get { return true; }
48  }
49 
50  public override bool CanSeek
51  {
52  get { return false; }
53  }
54 
55  public override bool CanWrite
56  {
57  get { return false; }
58  }
59 
60  public override long Position
61  {
62  get { throw new NotSupportedException(); }
63  set { throw new NotSupportedException(); }
64  }
65  }
66 }
override void SetLength(long value)
Definition: InputStream.cs:35
override void Flush()
Definition: InputStream.cs:26
override bool CanRead
Definition: InputStream.cs:46
override long Position
Definition: InputStream.cs:61
override long Seek(long offset, SeekOrigin origin)
Definition: InputStream.cs:30
override bool CanSeek
Definition: InputStream.cs:51
override bool CanWrite
Definition: InputStream.cs:56
override void Write(byte[] buffer, int offset, int count)
Definition: InputStream.cs:40