GifUnknownExtensionBlock

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.gif.GifBlock

public class GifUnknownExtensionBlock extends GifBlock

Gif Unknown Extension Block.

Constructors

ConstructorDescription
GifUnknownExtensionBlock()Initializes a new instance of the GifUnknownExtensionBlock class.
GifUnknownExtensionBlock(byte extensionLabel, byte[] data)Initializes a new instance of the GifUnknownExtensionBlock class.

Methods

MethodDescription
getExtensionLabel()Gets or sets the block’s extension label.
setExtensionLabel(byte value)Gets or sets the block’s extension label.
getUnknownData()Gets or sets the unknown data.
setUnknownData(byte[] value)Gets or sets the unknown data.

GifUnknownExtensionBlock()

public GifUnknownExtensionBlock()

Initializes a new instance of the GifUnknownExtensionBlock class.

GifUnknownExtensionBlock(byte extensionLabel, byte[] data)

public GifUnknownExtensionBlock(byte extensionLabel, byte[] data)

Initializes a new instance of the GifUnknownExtensionBlock class.

Parameters:

ParameterTypeDescription
extensionLabelbyteThe extension label.
databyte[]The block data.

getExtensionLabel()

public byte getExtensionLabel()

Gets or sets the block’s extension label.

Value: The block’s extension label.

Returns: byte

setExtensionLabel(byte value)

public void setExtensionLabel(byte value)

Gets or sets the block’s extension label.

Value: The block’s extension label.

Parameters:

ParameterTypeDescription
valuebyte

getUnknownData()

public byte[] getUnknownData()

Gets or sets the unknown data.

Value: The unknown data.

Returns: byte[]

setUnknownData(byte[] value)

public void setUnknownData(byte[] value)

Gets or sets the unknown data.

Value: The unknown data.

Parameters:

ParameterTypeDescription
valuebyte[]