Creates a new object
Source position: resdatastream.pp line 81
public constructor TResourceDataStream.Create( |
aStream: TStream; |
aResource: TAbstractResource; |
aSize: Int64; |
aClass: TCachedStreamClass |
); |
aStream |
|
The stream which resource data must be read from. It can be nil |
aResource |
|
The resource whose data must be read |
aSize |
|
The size of the resource data |
aClass |
|
The class to use to create the underlying cached stream |
A new TResourceDataStream object is created.
If aStream is nil, the underlying stream is a memory stream. Otherwise, a cached stream of the class specified in aClass is created and set as the underlying stream.
|
Stream class that provides copy-on-write functionality |
|
|
Base cached stream class |
|
|
Sets a custom stream as the underlying stream |