code: public final char getChar(int index) {
  		if (index >= 0 && index < this.size - 1) {
  			return (char) ( ((this.memory[this.offset + index + 0] & 0xff) << 8) | 
  							(this.memory[this.offset + index + 1] & 0xff) );
  		} else {
  			throw new IndexOutOfBoundsException();
  		}
  	}
docs: Reads two memory at the given position, composing them into a char value
  according to the current byte order.
  
  @param position The position from which the memory will be read.
  @return The char value at the given position.
  
  @throws IndexOutOfBoundsException Thrown, if the index is negative, or larger then the segment
  size minus 2.