Class GifParser
Inheritance
System.Object
GifParser
Assembly: Eco.Simulation.dll
Syntax
public class GifParser : Object
Constructors
GifParser()
Declaration
Methods
Declaration
public static List<uint> ExtractFrameTimeComments(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
Type |
Description |
System.Collections.Generic.List<System.UInt32> |
|
GetDimensions(Stream)
Declaration
public static Vector2i GetDimensions(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
GetGlobalColorTable(Stream)
Declaration
public static byte[] GetGlobalColorTable(Stream stream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
Returns
Type |
Description |
System.Byte[] |
|
Parse(Stream, Func<Byte, BinaryReader, Boolean>)
Declaration
public static void Parse(Stream stream, Func<byte, BinaryReader, bool> extensionParser)
Parameters
Type |
Name |
Description |
System.IO.Stream |
stream |
|
System.Func<System.Byte, System.IO.BinaryReader, System.Boolean> |
extensionParser |
|
ParseBlock(BinaryReader, Func<Byte, BinaryReader, Boolean>)
Declaration
public static void ParseBlock(BinaryReader reader, Func<byte, BinaryReader, bool> extensionParser)
Parameters
Type |
Name |
Description |
System.IO.BinaryReader |
reader |
|
System.Func<System.Byte, System.IO.BinaryReader, System.Boolean> |
extensionParser |
|
ParseExt(Byte, BinaryReader)
Declaration
public static void ParseExt(byte type, BinaryReader reader)
Parameters
Type |
Name |
Description |
System.Byte |
type |
|
System.IO.BinaryReader |
reader |
|
Declaration
public static void ParseHeader(BinaryReader reader)
Parameters
Type |
Name |
Description |
System.IO.BinaryReader |
reader |
|
ReadSubBlock(BinaryReader)
Declaration
public static byte[] ReadSubBlock(BinaryReader reader)
Parameters
Type |
Name |
Description |
System.IO.BinaryReader |
reader |
|
Returns
Type |
Description |
System.Byte[] |
|
SkipSubBlock(BinaryReader)
Declaration
public static void SkipSubBlock(BinaryReader reader)
Parameters
Type |
Name |
Description |
System.IO.BinaryReader |
reader |
|