TiffStreamWriter Class
Summary: Tiff stream writer.
Module: aspose.psd.fileformats.tiff.filemanagement
Full Name: aspose.psd.fileformats.tiff.filemanagement.TiffStreamWriter
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
TiffStreamWriter(writer) | Initializes a new instance of the TiffStreamWriter class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
position | long | r/w | Gets or sets the stream position. |
sync_root | object | r | Gets an object that can be used to synchronize access to the synchronized resource. |
Methods
Name | Description |
---|---|
write(data) | Writes the specified data. |
write(data, offset, data_length) | Writes the specified data. |
write_double(data) | Writes a single double value to the stream. |
write_double_array(data) | Writes an array of double values to the stream. |
write_float(data) | Writes a single float value to the stream. |
write_float_array(data) | Writes an array of float values to the stream. |
write_rational(data) | Writes a single rational number value to the stream. |
write_rational_array(data) | Writes an array of unsigned rational values to the stream. |
write_s_byte(data) | Writes a single signed byte value to the stream. |
write_s_byte_array(data) | Writes an array of signed byte values to the stream. |
write_s_long_array(data) | Writes an array of integer values to the stream. |
write_s_rational(data) | Writes a single signed rational number value to the stream. |
write_s_rational_array(data) | Writes an array of signed rational values to the stream. |
write_s_short(data) | Writes a single short value to the stream. |
write_s_short_array(data) | Writes an array of short values to the stream. |
write_slong(data) | Writes a single integer value to the stream. |
write_u_byte(data) | Writes a single byte value to the stream. |
write_u_long(data) | Writes a single unsigned integer value to the stream. |
write_u_long_array(data) | Writes an array of unsigned integer values to the stream. |
write_u_short(data) | Writes a single unsigned short value to the stream. |
write_u_short_array(data) | Writes an array of unsigned short values to the stream. |
Constructor: TiffStreamWriter(writer)
TiffStreamWriter(writer)
Initializes a new instance of the TiffStreamWriter class.
Parameters:
Parameter | Type | Description |
---|---|---|
writer | StreamContainer | The stream writer. |
Method: write(data)
write(data)
Writes the specified data.
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte | The data to write. |
Method: write(data, offset, data_length)
write(data, offset, data_length)
Writes the specified data.
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte | The data to write. |
offset | int | The data offset. |
data_length | int | Length of the data to writer. |
Method: write_double(data)
write_double(data)
Writes a single double value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | double | The value to write. |
Method: write_double_array(data)
write_double_array(data)
Writes an array of double values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | double | The array to write. |
Method: write_float(data)
write_float(data)
Writes a single float value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | float | The value to write. |
Method: write_float_array(data)
write_float_array(data)
Writes an array of float values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | float | The array to write. |
Method: write_rational(data)
write_rational(data)
Writes a single rational number value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | TiffRational | The value to write. |
Method: write_rational_array(data)
write_rational_array(data)
Writes an array of unsigned rational values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | TiffRational[] | The array to write. |
Method: write_s_byte(data)
write_s_byte(data)
Writes a single signed byte value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | sbyte | The value to write. |
Method: write_s_byte_array(data)
write_s_byte_array(data)
Writes an array of signed byte values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | sbyte | The array to write. |
Method: write_s_long_array(data)
write_s_long_array(data)
Writes an array of integer values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | int | The array to write. |
Method: write_s_rational(data)
write_s_rational(data)
Writes a single signed rational number value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | TiffSRational | The value to write. |
Method: write_s_rational_array(data)
write_s_rational_array(data)
Writes an array of signed rational values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | TiffSRational[] | The array to write. |
Method: write_s_short(data)
write_s_short(data)
Writes a single short value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | short | The value to write. |
Method: write_s_short_array(data)
write_s_short_array(data)
Writes an array of short values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | short | The array to write. |
Method: write_slong(data)
write_slong(data)
Writes a single integer value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | int | The value to write. |
Method: write_u_byte(data)
write_u_byte(data)
Writes a single byte value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | byte | The value to write. |
Method: write_u_long(data)
write_u_long(data)
Writes a single unsigned integer value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | uint | The value to write. |
Method: write_u_long_array(data)
write_u_long_array(data)
Writes an array of unsigned integer values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | uint | The array to write. |
Method: write_u_short(data)
write_u_short(data)
Writes a single unsigned short value to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | ushort | The value to write. |
Method: write_u_short_array(data)
write_u_short_array(data)
Writes an array of unsigned short values to the stream.
Parameters:
Parameter | Type | Description |
---|---|---|
data | ushort | The array to write. |