public class TiffStreamWriter extends Object
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 final 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.public final long getPosition()
Gets or sets the stream position.
Value: The stream position.public final void setPosition(long value)
Gets or sets the stream position.
Value: The stream position.public final 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 final void write(byte[] data)
Writes the specified data.
data
- The data to write.public final void writeDouble(double data)
Writes a single double value to the stream.
data
- The value to write.public final void writeDoubleArray(double[] data)
Writes an array of double values to the stream.
data
- The array to write.public final void writeFloat(float data)
Writes a single float value to the stream.
data
- The value to write.public final void writeFloatArray(float[] data)
Writes an array of float values to the stream.
data
- The array to write.public final void writeRational(TiffRational data)
Writes a single rational number value to the stream.
data
- The value to write.public final void writeSRational(TiffSRational data)
Writes a single signed rational number value to the stream.
data
- The value to write.public final void writeRationalArray(TiffRational[] data)
Writes an array of unsigned rational values to the stream.
data
- The array to write.public final void writeSRationalArray(TiffSRational[] data)
Writes an array of signed rational values to the stream.
data
- The array to write.public final void writeSByte(byte data)
Writes a single signed byte value to the stream.
data
- The value to write.public final void writeSByteArray(byte[] data)
Writes an array of signed byte values to the stream.
data
- The array to write.public final void writeSLongArray(int[] data)
Writes an array of integer values to the stream.
data
- The array to write.public final void writeSShort(short data)
Writes a single short value to the stream.
data
- The value to write.public final void writeSShortArray(short[] data)
Writes an array of short values to the stream.
data
- The array to write.public final void writeSlong(int data)
Writes a single integer value to the stream.
data
- The value to write.public final void writeUByte(byte data)
Writes a single byte value to the stream.
data
- The value to write.public final void writeULong(long data)
Writes a single unsigned integer value to the stream.
data
- The value to write.public final void writeULongArray(long[] data)
Writes an array of unsigned integer values to the stream.
data
- The array to write.public final void writeUShort(int data)
Writes a single unsigned short value to the stream.
data
- The value to write.public final void writeUShortArray(int[] data)
Writes an array of unsigned short values to the stream.
data
- The array to write.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.