org.jacorb.orb.giop
Interface CodeSet.InputBuffer

All Known Implementing Classes:
CDRInputStream, LocateReplyInputStream, LocateRequestInputStream, MessageInputStream, ReplyInputStream, RequestInputStream, ServiceContextTransportingInputStream
Enclosing class:
CodeSet

public static interface CodeSet.InputBuffer

This interface represents a buffer from which character data can be read.


Method Summary
 int get_pos()
          Returns the current position in the buffer.
 boolean readBOM()
          Looks ahead in the buffer to see if a byte-order marker is present.
 byte readByte()
          Reads the next byte from an in-memory buffer.
 

Method Detail

readByte

byte readByte()
Reads the next byte from an in-memory buffer.


get_pos

int get_pos()
Returns the current position in the buffer.


readBOM

boolean readBOM()
Looks ahead in the buffer to see if a byte-order marker is present. If so, reads it from the buffer and returns the result.

Returns:
true if a marker indicating little-endian was read.