public interface IHL7Stream
| Modifier and Type | Method and Description |
|---|---|
int |
available()
Returns available number of Bytes in IHL7Stream.
|
boolean |
endSend()
Checks end of Stream.
|
int |
getReadBytes()
Tracks bytes read from the stream.
|
int |
getStream()
Returns the stream type to which it is set to [InputStream/outputStream].
|
int |
mark(int iReadAheadLimit)
Marks Stream with Read Ahead Limit specified.
|
int |
readBuffer(byte[] arrbyte)
Reads buffer byte by byte from stream.
|
byte |
readByte()
Reads a single byte from the stream.
|
char |
readChar()
Reads a char from the stream.
|
int |
readString(java.lang.StringBuffer strBuffValue,
int iCount)
Reads a string from the stream with specified length.
|
int |
reset()
Resets the Stream to previously marked position.
|
boolean |
startReceive()
Checks receiving of Stream.
|
int |
writeBuffer(byte[] arrbyte,
int iOffset,
int iLength)
Writes Byte array to the DataOutputStream.
|
int |
writeByte(byte byteVal)
Writes a byte on the stream.
|
int |
writeChar(char charVal)
Writes a character with specified endianNess to the stream.
|
int |
writeString(java.lang.String strValue)
Writes the string specified in the parameter to the stream.
|
int getStream()
int getReadBytes()
byte readByte()
char readChar()
int readString(java.lang.StringBuffer strBuffValue,
int iCount)
iCount - length of the string to be readstrBuffValue - String buffer holds the data readint writeString(java.lang.String strValue)
strValue - the String to writeint readBuffer(byte[] arrbyte)
arrbyte - byte to readint writeByte(byte byteVal)
byteVal - byte to writeint writeChar(char charVal)
charVal - character to writeint writeBuffer(byte[] arrbyte,
int iOffset,
int iLength)
arrbyte - byte array to writeiOffset - the start offset in the dataiLength - the number of bytes to writeboolean startReceive()
boolean endSend()
int mark(int iReadAheadLimit)
iReadAheadLimit - number of streamsint reset()
int available()