GIFDecoderStreamReader Class

Definition

Reads bytes from a stream for GIF decoding.

public ref class GIFDecoderStreamReader
public class GIFDecoderStreamReader
type GIFDecoderStreamReader = class
Public Class GIFDecoderStreamReader
Inheritance
GIFDecoderStreamReader

Constructors

Name Description
GIFDecoderStreamReader(Stream)

Creates a new reader for the specified stream.

Properties

Name Description
CurrentBlockBuffer

Gets the buffer containing the current block data.

CurrentBlockSize

Gets the size of the current block.

CurrentPosition

Gets the current position in the stream.

Methods

Name Description
Read()

Reads a single byte from the stream.

ReadAsync(Byte[], Int32)

Asynchronously reads bytes into the buffer.

ReadBlockAsync()

Asynchronously reads a GIF data block into the buffer.

ReadShort()

Reads a 16-bit little-endian integer from the stream.

ReadString(Int32)

Reads an ASCII string of the specified length from the stream.

SkipBlockAsync()

Asynchronously skips over a GIF data block.

Applies to