public class TiffStreamWriter extends Object implements com.aspose.imaging_internal.interfaces.ISynchronizable
Tiff stream writer.
Constructor and Description |
---|
TiffStreamWriter(StreamContainer writer)
Initializes a new instance of the
TiffStreamWriter class. |
Modifier and Type | Method and Description |
---|---|
long |
getPosition()
Gets or sets the stream position.
|
Object |
getSyncRoot()
Gets an object that can be used to synchronize access to the synchronized resource.
|
void |
setPosition(long value)
Gets or sets the stream position.
|
void |
write(byte[] data)
Writes the specified data.
|
void |
write(byte[] data,
int offset,
int dataLength)
Writes the specified data.
|
void |
writeDouble(double data)
Writes a single double value to the stream.
|
void |
writeDoubleArray(double[] data)
Writes an array of double values to the stream.
|
void |
writeFloat(float data)
Writes a single float value to the stream.
|
void |
writeFloatArray(float[] data)
Writes an array of float values to the stream.
|
void |
writeRational(TiffRational data)
Writes a single rational number value to the stream.
|
void |
writeRationalArray(TiffRational[] data)
Writes an array of unsigned rational values to the stream.
|
void |
writeSByte(byte data)
Writes a single signed byte value to the stream.
|
void |
writeSByteArray(byte[] data)
Writes an array of signed byte values to the stream.
|
void |
writeSlong(int data)
Writes a single integer value to the stream.
|
void |
writeSLongArray(int[] data)
Writes an array of integer values to the stream.
|
void |
writeSRational(TiffSRational data)
Writes a single signed rational number value to the stream.
|
void |
writeSRationalArray(TiffSRational[] data)
Writes an array of signed rational values to the stream.
|
void |
writeSShort(short data)
Writes a single short value to the stream.
|
void |
writeSShortArray(short[] data)
Writes an array of short values to the stream.
|
void |
writeUByte(byte data)
Writes a single byte value to the stream.
|
void |
writeULong(long data)
Writes a single unsigned integer value to the stream.
|
void |
writeULongArray(long[] data)
Writes an array of unsigned integer values to the stream.
|
void |
writeUShort(int data)
Writes a single unsigned short value to the stream.
|
void |
writeUShortArray(int[] data)
Writes an array of unsigned short values to the stream.
|
public TiffStreamWriter(StreamContainer writer)
Initializes a new instance of the TiffStreamWriter
class.
writer
- The stream writer.public Object getSyncRoot()
Gets an object that can be used to synchronize access to the synchronized resource.
Value: The object that can be used to synchronize access to the synchronized resource.getSyncRoot
in interface com.aspose.imaging_internal.interfaces.ISynchronizable
public long getPosition()
Gets or sets the stream position.
Value: The stream position.public void setPosition(long value)
Gets or sets the stream position.
Value: The stream position.public void write(byte[] data, int offset, int dataLength)
Writes the specified data.
data
- The data to write.offset
- The data offset.dataLength
- Length of the data to writer.public void write(byte[] data)
Writes the specified data.
data
- The data to write.public void writeDouble(double data)
Writes a single double value to the stream.
data
- The value to write.public void writeDoubleArray(double[] data)
Writes an array of double values to the stream.
data
- The array to write.public void writeFloat(float data)
Writes a single float value to the stream.
data
- The value to write.public void writeFloatArray(float[] data)
Writes an array of float values to the stream.
data
- The array to write.public void writeRational(TiffRational data)
Writes a single rational number value to the stream.
data
- The value to write.public void writeSRational(TiffSRational data)
Writes a single signed rational number value to the stream.
data
- The value to write.public void writeRationalArray(TiffRational[] data)
Writes an array of unsigned rational values to the stream.
data
- The array to write.public void writeSRationalArray(TiffSRational[] data)
Writes an array of signed rational values to the stream.
data
- The array to write.public void writeSByte(byte data)
Writes a single signed byte value to the stream.
data
- The value to write.public void writeSByteArray(byte[] data)
Writes an array of signed byte values to the stream.
data
- The array to write.public void writeSLongArray(int[] data)
Writes an array of integer values to the stream.
data
- The array to write.public void writeSShort(short data)
Writes a single short value to the stream.
data
- The value to write.public void writeSShortArray(short[] data)
Writes an array of short values to the stream.
data
- The array to write.public void writeSlong(int data)
Writes a single integer value to the stream.
data
- The value to write.public void writeUByte(byte data)
Writes a single byte value to the stream.
data
- The value to write.public void writeULong(long data)
Writes a single unsigned integer value to the stream.
data
- The value to write.public void writeULongArray(long[] data)
Writes an array of unsigned integer values to the stream.
data
- The array to write.public void writeUShort(int data)
Writes a single unsigned short value to the stream.
data
- The value to write.public void writeUShortArray(int[] data)
Writes an array of unsigned short values to the stream.
data
- The array to write.