@Override
  public int i8(InputStream input, int offset) {
    int positionInBuffer = actualizeBufferAndGetPosition(input, offset, 0);
    return buffer[positionInBuffer];
  }
@Override
  public int i8(InputStream input, int offset)