C# 클래스 BitMiracle.LibTiff.Classic.TiffStream

A stream used by the library for TIFF reading and writing.
파일 보기 프로젝트 열기: Core-Techs/TiffLibrary 1 사용 예제들

공개 메소드들

메소드 설명
Close ( object clientData ) : void

Closes the current stream.

Read ( object clientData, byte buffer, int offset, int count ) : int

Reads a sequence of bytes from the stream and advances the position within the stream by the number of bytes read.

Seek ( object clientData, long offset, SeekOrigin origin ) : long

Sets the position within the current stream.

Size ( object clientData ) : long

Gets the length in bytes of the stream.

Write ( object clientData, byte buffer, int offset, int count ) : void

Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.

메소드 상세

Close() 공개 메소드

Closes the current stream.
public Close ( object clientData ) : void
clientData object A client data (by default, an underlying stream).
리턴 void

Read() 공개 메소드

Reads a sequence of bytes from the stream and advances the position within the stream by the number of bytes read.
public Read ( object clientData, byte buffer, int offset, int count ) : int
clientData object A client data (by default, an underlying stream).
buffer byte An array of bytes. When this method returns, the /// contains the specified byte array with the values between /// and ( + - 1) /// replaced by the bytes read from the current source.
offset int The zero-based byte offset in at which /// to begin storing the data read from the current stream.
count int The maximum number of bytes to be read from the current stream.
리턴 int

Seek() 공개 메소드

Sets the position within the current stream.
public Seek ( object clientData, long offset, SeekOrigin origin ) : long
clientData object A client data (by default, an underlying stream).
offset long A byte offset relative to the parameter.
origin SeekOrigin A value of type indicating the /// reference point used to obtain the new position.
리턴 long

Size() 공개 메소드

Gets the length in bytes of the stream.
public Size ( object clientData ) : long
clientData object A client data (by default, an underlying stream).
리턴 long

Write() 공개 메소드

Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
public Write ( object clientData, byte buffer, int offset, int count ) : void
clientData object A client data (by default, an underlying stream).
buffer byte An array of bytes. This method copies /// bytes from to the current stream.
offset int The zero-based byte offset in at which /// to begin copying bytes to the current stream.
count int The number of bytes to be written to the current stream.
리턴 void