### Question:
AsciiBuffer implements CharSequence { @Override public CharSequence subSequence(int start, int end) { return buffer.toString(start, end - start, US_ASCII); } AsciiBuffer(Buffer buffer); @Override int length(); @Override char charAt(int index); @Override CharSequence subSequence(int start, int end); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString();  }### Answer:
@Test public void testSubSequence() { testSubSequence(newAsciiString("some-data")); testSubSequence(newAsciiString(DEFAULT_RO_ALLOCATOR.fromAscii("some-data"))); testSubSequence(newAsciiString(DEFAULT_ALLOCATOR.fromAscii("some-data"))); }