IcoHeader class

The header of an ICO file.

Constructors

IcoHeader({required int reserved, required int imageType, required int imageCount})
The header of an ICO file.
IcoHeader.fromBytes(ByteData bytes)
Creates an IcoHeader from a ByteData.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
imageCount int
number of images in the file
final
imageType int
type of image, 1 for icon, 2 for cursor
final
reserved int
The reserved field of the header.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBytes() Uint8List
Creates a Uint8List from an IcoHeader.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

headerSize → const int
The size of the header in bytes.