Class RleReader
Inheritance
System.Object
RleReader
Namespace: PhotoshopFile
Syntax
public class RleReader
Constructors
RleReader(Stream)
Declaration
public RleReader(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream |
Methods
Read(Byte[], Int32, Int32)
Decodes a PackBits RLE stream.
Declaration
public int Read(byte[] buffer, int offset, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | buffer | Output buffer for decoded data. |
System.Int32 | offset | Offset at which to begin writing. |
System.Int32 | count | Number of bytes to decode from the stream. |
Returns
Type | Description |
---|---|
System.Int32 |