Method | Description | |
---|---|---|
FileSegment ( string fileName, long position, long length ) : System |
Initializes a new instance of the FileSegment class.
|
|
GetBuffer ( ) : ByteBuffer |
Gets a ByteBuffer containing this segment's data.
|
|
GetData ( ) : byte[] |
Gets the data for this segment.
|
|
OpenStream ( ) : |
Opens a readonly stream for this segment.
|
|
WriteTo ( Stream s ) : void |
Copies this segment to a stream.
|
public FileSegment ( string fileName, long position, long length ) : System | ||
fileName | string | Name of the file. |
position | long | The position. |
length | long | The length. |
return | System |