* @param stream
   * @param start
   * @param end
   * @return int
   */
  public static int byteArrayReadSequence(char[] buffer, InputStream stream, int start, int end) {
    if (stream.tokenizerState != null) {
      return (Stella.tokenizerByteArrayReadSequence(buffer, stream, start, end));
    }
    else {
      return (Stella.nativeByteArrayReadSequence(buffer, stream.nativeStream, start, end));
    }
  }