ClassBinaryStream
Definition
Namespace:Telerik.OpenAccess
Assembly:Telerik.OpenAccess.dll
Syntax:
public class BinaryStream : Stream
Inheritance: objectMarshalByRefObjectStreamBinaryStream
Constructors
BinaryStream()
Declaration
public BinaryStream()
BinaryStream(IOpenAccessBinaryStream, string)
Declaration
public BinaryStream(IOpenAccessBinaryStream info, string fieldName)
Parameters
info
fieldName
string
Properties
Append
Declaration
public bool Append { get; set; }
Property Value
bool
CanRead
Declaration
public override bool CanRead { get; }
Property Value
bool
Overrides
CanSeek
Declaration
public override bool CanSeek { get; }
Property Value
bool
Overrides
CanWrite
Declaration
public override bool CanWrite { get; }
Property Value
bool
Overrides
Length
Declaration
public override long Length { get; }
Property Value
long
Overrides
Position
Declaration
public override long Position { get; set; }
Property Value
long
Overrides
Methods
CheckAccess(bool)
Declaration
protected virtual bool CheckAccess(bool write)
Parameters
write
bool
Returns
bool
Dispose(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
bool
Overrides
Flush()
Declaration
public override void Flush()
Overrides
GetLengthInternal()
Declaration
protected virtual long GetLengthInternal()
Returns
long
Initialize(IOpenAccessBinaryStream, string)
Declaration
public virtual void Initialize(IOpenAccessBinaryStream newBinaryInfo, string newFieldName)
Parameters
newBinaryInfo
newFieldName
string
InitializeStreamDefaults(bool, bool, bool, int)
Declaration
protected void InitializeStreamDefaults(bool canRead, bool canSeek, bool canWrite, int bufferSize)
Parameters
canRead
bool
canSeek
bool
canWrite
bool
bufferSize
int
MarkModified()
Declaration
protected virtual void MarkModified()
Read(byte[], int, int)
Declaration
public override int Read(byte[] buffer, int offset, int count)
Parameters
buffer
byte[]
offset
int
count
int
Returns
int
Overrides
ReadInternal(byte[], int, int)
Declaration
protected virtual int ReadInternal(byte[] buffer, int offset, int count)
Parameters
buffer
byte[]
offset
int
count
int
Returns
int
Seek(long, SeekOrigin)
Declaration
public override long Seek(long offset, SeekOrigin origin)
Parameters
offset
long
origin
SeekOrigin
Returns
long
Overrides
SeekInternal(long, SeekOrigin)
Declaration
protected virtual long SeekInternal(long offset, SeekOrigin origin)
Parameters
offset
long
origin
SeekOrigin
Returns
long
SetLength(long)
Declaration
public override void SetLength(long length)
Parameters
length
long
Overrides
SetLengthInternal(long)
Declaration
protected virtual void SetLengthInternal(long length)
Parameters
length
long
Write(byte[], int, int)
Declaration
public override void Write(byte[] buffer, int offset, int count)
Parameters
buffer
byte[]
offset
int
count
int
Overrides
WriteInternal(byte[], int, int)
Declaration
protected virtual void WriteInternal(byte[] buffer, int offset, int count)
Parameters
buffer
byte[]
offset
int
count
int