Class ByteArrayCharSequence

java.lang.Object
com.googlecode.concurrenttrees.radix.node.concrete.bytearray.ByteArrayCharSequence
All Implemented Interfaces:
CharSequence

public class ByteArrayCharSequence extends Object implements CharSequence
A CharSequence view onto a byte array of UTF-8-encoded characters, with the proviso that all of the characters were encoded as a single byte in UTF-8. This uses Java's built-in casting from UTF-8 to char primitives.
Author:
Niall Gallagher
  • Constructor Details

    • ByteArrayCharSequence

      public ByteArrayCharSequence(byte[] bytes, int start, int end)
  • Method Details