C# Class ScreenToGif.ImageUtil.Decoder.GifHelpers

Show file Open project: dbremner/ScreenToGif Class Usage Examples

Public Methods

Method Description
GetRepeatCount ( GifApplicationExtension ext ) : ushort
InvalidBlockSizeException ( string blockName, int expectedBlockSize, int actualBlockSize ) : Exception
InvalidSignatureException ( string signature ) : Exception
IsNetscapeExtension ( GifApplicationExtension ext ) : bool
ReadAll ( this stream, byte buffer, int offset, int count ) : void
ReadColorTable ( Stream stream, int size ) : ScreenToGif.ImageUtil.Decoder.GifColor[]
ReadDataBlocks ( Stream stream, bool discard ) : byte[]
ReadString ( Stream stream, int length ) : string
UnexpectedEndOfStreamException ( ) : Exception
UnknownBlockTypeException ( int blockId ) : Exception
UnknownExtensionTypeException ( int extensionLabel ) : Exception
UnsupportedVersionException ( string version ) : Exception

Method Details

GetRepeatCount() public static method

public static GetRepeatCount ( GifApplicationExtension ext ) : ushort
ext GifApplicationExtension
return ushort

InvalidBlockSizeException() public static method

public static InvalidBlockSizeException ( string blockName, int expectedBlockSize, int actualBlockSize ) : Exception
blockName string
expectedBlockSize int
actualBlockSize int
return System.Exception

InvalidSignatureException() public static method

public static InvalidSignatureException ( string signature ) : Exception
signature string
return System.Exception

IsNetscapeExtension() public static method

public static IsNetscapeExtension ( GifApplicationExtension ext ) : bool
ext GifApplicationExtension
return bool

ReadAll() public static method

public static ReadAll ( this stream, byte buffer, int offset, int count ) : void
stream this
buffer byte
offset int
count int
return void

ReadColorTable() public static method

public static ReadColorTable ( Stream stream, int size ) : ScreenToGif.ImageUtil.Decoder.GifColor[]
stream Stream
size int
return ScreenToGif.ImageUtil.Decoder.GifColor[]

ReadDataBlocks() public static method

public static ReadDataBlocks ( Stream stream, bool discard ) : byte[]
stream Stream
discard bool
return byte[]

ReadString() public static method

public static ReadString ( Stream stream, int length ) : string
stream Stream
length int
return string

UnexpectedEndOfStreamException() public static method

public static UnexpectedEndOfStreamException ( ) : Exception
return System.Exception

UnknownBlockTypeException() public static method

public static UnknownBlockTypeException ( int blockId ) : Exception
blockId int
return System.Exception

UnknownExtensionTypeException() public static method

public static UnknownExtensionTypeException ( int extensionLabel ) : Exception
extensionLabel int
return System.Exception

UnsupportedVersionException() public static method

public static UnsupportedVersionException ( string version ) : Exception
version string
return System.Exception