Ejemplo n.º 1
0
 public byte readByte() throws MessageFormatException, MessageEOFException {
   checkEndOfStreamCondition();
   checkByteArrayReadingInProgress();
   final StreamItem streamItem = items.get(mark);
   final byte b = StreamItemConversion.convertToByte(streamItem);
   mark++;
   return b;
 }