C# Class SenseNet.ContentRepository.Storage.Data.RepositoryStream

Inheritance: Stream
Show file Open project: maxpavlov/FlexNet Class Usage Examples

Public Methods

Method Description
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadByte ( ) : int
RepositoryStream ( long size, byte binary ) : System
RepositoryStream ( long size, int binaryPropertyId ) : System
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Private Methods

Method Description
CanInnerBufferHandleReadRequest ( int count ) : bool

Method Details

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadByte() public method

public ReadByte ( ) : int
return int

RepositoryStream() public method

public RepositoryStream ( long size, byte binary ) : System
size long
binary byte
return System

RepositoryStream() public method

public RepositoryStream ( long size, int binaryPropertyId ) : System
size long
binaryPropertyId int
return System

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void