Chunk
ase.chunks.Chunk (Class) → CelChunk, CelExtraChunk, ColorProfileChunk, ExternalFilesChunk, LayerChunk, MaskChunk, OldPaleteChunk, PaletteChunk, SliceChunk, TagsChunk, TilesetChunk, UserDataChunk
Implements: ase.types.Serializable
Static Members
fromBytes(bytes: haxe.io.Bytes): Chunk| Name | Type |
|---|---|
bytes |
haxe.io.Bytes |
| Returns |
|---|
| Chunk |
Instance Members
header: ChunkHeaderuserData: UserDataChunksize: InttoBytes(?out: haxe.io.BytesOutput): haxe.io.Bytes| Name | Type | Default |
|---|---|---|
out |
haxe.io.BytesOutput | (optional) |
| Returns |
|---|
| haxe.io.Bytes |
toString(): String| Returns |
|---|
| String |
Private Members
getSizeWithoutHeader(): Int| Returns |
|---|
| Int |
writeHeaderBytes(out: haxe.io.BytesOutput): Void| Name | Type |
|---|---|
out |
haxe.io.BytesOutput |
new(?createHeader: Bool = false, ?type: ase.types.ChunkType): Void| Name | Type | Default |
|---|---|---|
createHeader |
Bool | false |
type |
ase.types.ChunkType | (optional) |