BigTiffReader Class
Summary: The little endian BigTiff reader.
Module: aspose.imaging.fileformats.tiff.filemanagement.bigtiff
Full Name: aspose.imaging.fileformats.tiff.filemanagement.bigtiff.BigTiffReader
Inheritance: TiffStreamReader
Constructors
| Name | Description | 
|---|---|
| BigTiffReader(data) | Initializes a new instance of the BigTiffReader class. | 
| BigTiffReader(data, start_index) | Initializes a new instance of the BigTiffReader class. | 
| BigTiffReader(data, start_index, data_length) | Initializes a new instance of the BigTiffReader class. | 
| BigTiffReader(stream_container) | Initializes a new instance of the BigTiffReader class. | 
Properties
| Name | Type | Access | Description | 
|---|---|---|---|
| length | int | r | Gets the reader length. | 
| throw_exceptions | bool | r/w | Gets or sets a value indicating whether exceptions are thrown on incorrect data processing (reading or writing to stream). | 
Methods
| Name | Description | 
|---|---|
| read_bytes(array, array_index, position, count) | Reads an array of byte values from the stream. | 
| read_bytes(position, count) | Reads an array of unsigned byte values from the stream. | 
| read_double(position) | Read a single double value from the stream. | 
| read_double_array(position, count) | Reads an array of double values from the stream. | 
| read_float(position) | Read a single float value from the stream. | 
| read_float_array(position, count) | Reads an array of float values from the stream. | 
| read_long(position) | Read unsigned long value from the stream. | 
| read_long_array(position, count) | Reads an array of ulong values from the stream. | 
| read_rational(position) | Read a single rational number value from the stream. | 
| read_rational_array(position, count) | Reads an array of rational values from the stream. | 
| read_s_byte(position) | Reads signed byte data from the stream. | 
| read_s_byte_array(position, count) | Reads an array of signed byte values from the stream. | 
| read_s_int(position) | Read signed integer value from the stream. | 
| read_s_int_array(position, count) | Reads an array of signed integer values from the stream. | 
| read_s_rational(position) | Read a single signed rational number value from the stream. | 
| read_s_rational_array(position, count) | Reads an array of signed rational values from the stream. | 
| read_s_short(position) | Read signed short value from the stream. | 
| read_s_short_array(position, count) | Reads an array of signed short values from the stream. | 
| read_u_int(position) | Read unsigned integer value from the stream. | 
| read_u_int_array(position, count) | Reads an array of unsigned integer values from the stream. | 
| read_u_long(position) | Read unsigned long value from the stream. | 
| read_u_long_array(position, count) | Reads an array of ulong values from the stream. | 
| read_u_short(position) | Read unsigned short value from the stream. | 
| read_u_short_array(position, count) | Reads an array of unsigned integer values from the stream. | 
| to_stream_container(start_position) | Converts the underlying data to the stream container. | 
Constructor: BigTiffReader(data)
 BigTiffReader(data) 
Initializes a new instance of the BigTiffReader class.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| data | System.Byte | The byte array data. | 
Constructor: BigTiffReader(data, start_index)
 BigTiffReader(data, start_index) 
Initializes a new instance of the BigTiffReader class.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| data | System.Byte | The byte array data. | 
| start_index | int | The start index into data. | 
Constructor: BigTiffReader(data, start_index, data_length)
 BigTiffReader(data, start_index, data_length) 
Initializes a new instance of the BigTiffReader class.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| data | System.Byte | The byte array data. | 
| start_index | int | The start index into data. | 
| data_length | int | Length of the data. | 
Constructor: BigTiffReader(stream_container)
 BigTiffReader(stream_container) 
Initializes a new instance of the BigTiffReader class.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| stream_container | StreamContainer | The stream container. | 
Method: read_bytes(array, array_index, position, count)
 read_bytes(array, array_index, position, count) 
Reads an array of byte values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| array | System.Byte | The array to fill. | 
| array_index | int | The array index to start putting values to. | 
| position | int | The stream position to read from. | 
| count | int | The elements count to read. | 
Returns
| Type | Description | 
|---|---|
| int | The array of byte values. | 
Method: read_bytes(position, count)
 read_bytes(position, count) 
Reads an array of unsigned byte values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
| count | int | The elements count. | 
Returns
| Type | Description | 
|---|---|
| System.Byte | The array of unsigned byte values. | 
Method: read_double(position)
 read_double(position) 
Read a single double value from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
Returns
| Type | Description | 
|---|---|
| float | The single double value. | 
Method: read_double_array(position, count)
 read_double_array(position, count) 
Reads an array of double values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
| count | int | The elements count. | 
Returns
| Type | Description | 
|---|---|
| float[] | The array of double values. | 
Method: read_float(position)
 read_float(position) 
Read a single float value from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
Returns
| Type | Description | 
|---|---|
| float | The single float value. | 
Method: read_float_array(position, count)
 read_float_array(position, count) 
Reads an array of float values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
| count | int | The elements count. | 
Returns
| Type | Description | 
|---|---|
| float[] | The array of float values. | 
Method: read_long(position)
 read_long(position) 
Read unsigned long value from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
Returns
| Type | Description | 
|---|---|
| int | An unsigned short value. | 
Method: read_long_array(position, count)
 read_long_array(position, count) 
Reads an array of ulong values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
| count | int | The elements count. | 
Returns
| Type | Description | 
|---|---|
| int[] | The ulong array. | 
Method: read_rational(position)
 read_rational(position) 
Read a single rational number value from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
Returns
| Type | Description | 
|---|---|
| TiffRational | The rational number. | 
Method: read_rational_array(position, count)
 read_rational_array(position, count) 
Reads an array of rational values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
| count | int | The elements count. | 
Returns
| Type | Description | 
|---|---|
| TiffRational[] | The array of rational values. | 
Method: read_s_byte(position)
 read_s_byte(position) 
Reads signed byte data from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
Returns
| Type | Description | 
|---|---|
| System.SByte | The signed byte value. | 
Method: read_s_byte_array(position, count)
 read_s_byte_array(position, count) 
Reads an array of signed byte values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
| count | int | The elements count. | 
Returns
| Type | Description | 
|---|---|
| System.SByte | The array of signed byte values. | 
Method: read_s_int(position)
 read_s_int(position) 
Read signed integer value from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
Returns
| Type | Description | 
|---|---|
| int | A signed integer value. | 
Method: read_s_int_array(position, count)
 read_s_int_array(position, count) 
Reads an array of signed integer values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
| count | int | The elements count. | 
Returns
| Type | Description | 
|---|---|
| int[] | The array of signed integer values. | 
Method: read_s_rational(position)
 read_s_rational(position) 
Read a single signed rational number value from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
Returns
| Type | Description | 
|---|---|
| TiffSRational | The signed rational number. | 
Method: read_s_rational_array(position, count)
 read_s_rational_array(position, count) 
Reads an array of signed rational values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
| count | int | The elements count. | 
Returns
| Type | Description | 
|---|---|
| TiffSRational[] | The array of signed rational values. | 
Method: read_s_short(position)
 read_s_short(position) 
Read signed short value from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
Returns
| Type | Description | 
|---|---|
| int | A signed short value. | 
Method: read_s_short_array(position, count)
 read_s_short_array(position, count) 
Reads an array of signed short values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
| count | int | The elements count. | 
Returns
| Type | Description | 
|---|---|
| int[] | The array of signed short values. | 
Method: read_u_int(position)
 read_u_int(position) 
Read unsigned integer value from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
Returns
| Type | Description | 
|---|---|
| int | An unsigned integer value. | 
Method: read_u_int_array(position, count)
 read_u_int_array(position, count) 
Reads an array of unsigned integer values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
| count | int | The elements count. | 
Returns
| Type | Description | 
|---|---|
| int[] | The array of unsigned integer values. | 
Method: read_u_long(position)
 read_u_long(position) 
Read unsigned long value from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
Returns
| Type | Description | 
|---|---|
| int | An unsigned short value. | 
Method: read_u_long_array(position, count)
 read_u_long_array(position, count) 
Reads an array of ulong values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
| count | int | The elements count. | 
Returns
| Type | Description | 
|---|---|
| int[] | The ulong array. | 
Method: read_u_short(position)
 read_u_short(position) 
Read unsigned short value from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
Returns
| Type | Description | 
|---|---|
| int | An unsigned short value. | 
Method: read_u_short_array(position, count)
 read_u_short_array(position, count) 
Reads an array of unsigned integer values from the stream.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| position | int | The position to read from. | 
| count | int | The elements count. | 
Returns
| Type | Description | 
|---|---|
| int[] | The array of unsigned integer values. | 
Method: to_stream_container(start_position)
 to_stream_container(start_position) 
Converts the underlying data to the stream container.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| start_position | int | The start position to start conversion from. | 
Returns
| Type | Description | 
|---|---|
| StreamContainer | The StreamContainer with converted data. |