public char charAt(final int index)
    {
        if (index < 0 || index >= length)
        {
            throw new StringIndexOutOfBoundsException("index=" + index + " length=" + length);
        }

        return (char)buffer.getByte(offset + index);
    }
@Test
    void shouldThrowExceptionWhenCharAtCalledWithNoBuffer()
    {
        assertThrows(StringIndexOutOfBoundsException.class, () -> asciiSequenceView.charAt(0));
    }