TiffByteType

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.tiff.TiffDataType, com.aspose.imaging.fileformats.tiff.tifftagtypes.TiffCommonArrayType

public final class TiffByteType extends TiffCommonArrayType

The tiff byte type.

Constructors

ConstructorDescription
TiffByteType(int tagId)Initializes a new instance of the TiffByteType class.

Methods

MethodDescription
getValues()Gets or sets the values.
setValues(byte[] value)Gets or sets the values.
getValuesContainer()Gets the values container.
getElementSize()Gets the element size in bytes.
getTagType()Gets the tag type.
getValue()Gets or sets the value this data type contains.
setValue(Object value)Gets or sets the value this data type contains.
writeAdditionalData(TiffStreamWriter dataStream)Writes the additional tag data.

TiffByteType(int tagId)

public TiffByteType(int tagId)

Initializes a new instance of the TiffByteType class.

Parameters:

ParameterTypeDescription
tagIdintThe tag id.

getValues()

public byte[] getValues()

Gets or sets the values.

Returns: byte[] - The data.

setValues(byte[] value)

public void setValues(byte[] value)

Gets or sets the values.

Parameters:

ParameterTypeDescription
valuebyte[]The data.

getValuesContainer()

public System.Array getValuesContainer()

Gets the values container.

Returns: com.aspose.ms.System.Array - The values container.

getElementSize()

public byte getElementSize()

Gets the element size in bytes.

Returns: byte - The element size in bytes.

getTagType()

public int getTagType()

Gets the tag type.

Returns: int - The tag type.

getValue()

public Object getValue()

Gets or sets the value this data type contains.

Returns: java.lang.Object - The value.

setValue(Object value)

public void setValue(Object value)

Gets or sets the value this data type contains.

Parameters:

ParameterTypeDescription
valuejava.lang.ObjectThe value.

writeAdditionalData(TiffStreamWriter dataStream)

public long writeAdditionalData(TiffStreamWriter dataStream)

Writes the additional tag data.

Parameters:

ParameterTypeDescription
dataStreamTiffStreamWriterThe data stream.

Returns: long - The actual bytes written.