@Override public int read() throws IOException { if (pointer == -1) { try { length = doRead(readBuffer, 0, readBuffer.length); if (length == 0) { return -1; } pointer = 0; } catch (DataFormatException e) { IOException e2 = new IOException(e.getMessage()); e2.initCause(e); throw e2; } } int value = readBuffer[pointer] & 0xFF; pointer++; if (pointer == length) { pointer = -1; } return value; }
@Override public int read() throws IOException { if (pointer == -1) { try { length = doRead(readBuffer, 0, readBuffer.length); if (length == 0) { return -1; } pointer = 0; } catch (DataFormatException e) { IOException e2 = new IOException(e.getMessage()); e2.initCause(e); throw e2; } } int value = readBuffer[pointer] & 0xFF; pointer++; if (pointer == length) { pointer = -1; } return value; }
@Override public int read() throws IOException { if (pointer == -1) { try { length = doRead(readBuffer, 0, readBuffer.length); if (length == 0) { return -1; } pointer = 0; } catch (DataFormatException e) { IOException e2 = new IOException(e.getMessage()); e2.initCause(e); throw e2; } } int value = readBuffer[pointer] & 0xFF; pointer++; if (pointer == length) { pointer = -1; } return value; }
@Override public int read() throws IOException { if (pointer == -1) { try { length = doRead(readBuffer, 0, readBuffer.length); if (length == 0) { return -1; } pointer = 0; } catch (DataFormatException e) { IOException e2 = new IOException(e.getMessage()); e2.initCause(e); throw e2; } } int value = readBuffer[pointer] & 0xFF; pointer++; if (pointer == length) { pointer = -1; } return value; }
@Override public int read() throws IOException { if (pointer == -1) { try { length = doRead(readBuffer, 0, readBuffer.length); if (length == 0) { return -1; } pointer = 0; } catch (DataFormatException e) { IOException e2 = new IOException(e.getMessage()); e2.initCause(e); throw e2; } } int value = readBuffer[pointer] & 0xFF; pointer++; if (pointer == length) { pointer = -1; } return value; }
@Override public int read() throws IOException { if (pointer == -1) { try { length = doRead(readBuffer, 0, readBuffer.length); if (length == 0) { return -1; } pointer = 0; } catch (DataFormatException e) { IOException e2 = new IOException(e.getMessage()); e2.initCause(e); throw e2; } } int value = readBuffer[pointer] & 0xFF; pointer++; if (pointer == length) { pointer = -1; } return value; }
@Override public int read() throws IOException { if (pointer == -1) { try { length = doRead(readBuffer, 0, readBuffer.length); if (length == 0) { return -1; } pointer = 0; } catch (DataFormatException e) { IOException e2 = new IOException(e.getMessage()); e2.initCause(e); throw e2; } } int value = readBuffer[pointer] & 0xFF; pointer++; if (pointer == length) { pointer = -1; } return value; }