Tabnine Logo
ByteIterator.asLatin1String
Code IndexAdd Tabnine to your IDE (free)

How to use
asLatin1String
method
in
org.wildfly.security.util.ByteIterator

Best Java code snippets using org.wildfly.security.util.ByteIterator.asLatin1String (Showing top 3 results out of 315)

origin: wildfly/wildfly

/**
 * Get a code point iterator for a ISO-8859-1 (Latin-1) encoded array.
 *
 * @param bytes the array
 * @param offs the array offset
 * @param len the number of characters to include
 * @return the code point iterator
 */
public static CodePointIterator ofLatin1Bytes(final byte[] bytes, final int offs, final int len) {
  if (len <= 0) {
    return EMPTY;
  }
  return ByteIterator.ofBytes(bytes, offs, len).asLatin1String();
}
origin: org.wildfly.security/wildfly-elytron

/**
 * Get a code point iterator for a ISO-8859-1 (Latin-1) encoded array.
 *
 * @param bytes the array
 * @param offs the array offset
 * @param len the number of characters to include
 * @return the code point iterator
 */
public static CodePointIterator ofLatin1Bytes(final byte[] bytes, final int offs, final int len) {
  if (len <= 0) {
    return EMPTY;
  }
  return ByteIterator.ofBytes(bytes, offs, len).asLatin1String();
}
origin: org.jboss.eap/wildfly-client-all

/**
 * Get a code point iterator for a ISO-8859-1 (Latin-1) encoded array.
 *
 * @param bytes the array
 * @param offs the array offset
 * @param len the number of characters to include
 * @return the code point iterator
 */
public static CodePointIterator ofLatin1Bytes(final byte[] bytes, final int offs, final int len) {
  if (len <= 0) {
    return EMPTY;
  }
  return ByteIterator.ofBytes(bytes, offs, len).asLatin1String();
}
org.wildfly.security.utilByteIteratorasLatin1String

Javadoc

Get this byte iterator as a Latin-1 string.

Popular methods of ByteIterator

  • asUtf8String
    Get this byte iterator as a UTF-8 string.
  • drain
    Drains up to len bytes from this iterator into the given dst array. An attempt is made to drain as m
  • ofBytes
    Get a byte iterator for a byte array with interleave.
  • appendTo
  • base32Encode
    Base32-encode the current stream.
  • base64Encode
    Base64-encode the current stream.
  • drainTo
    Drain all the remaining bytes in this iterator to the given stream.
  • hasNext
    Determine if there are more bytes after the current byte.
  • hasPrev
    Determine if there are more bytes before the current byte.
  • hexEncode
    Hex-encode the current stream.
  • next
    Get the next byte.
  • offset
    Get the current offset, in bytes.
  • next,
  • offset,
  • peekNext,
  • peekPrev,
  • prev,
  • update,
  • hexDecode

Popular in Java

  • Making http requests using okhttp
  • startActivity (Activity)
  • getSystemService (Context)
  • setRequestProperty (URLConnection)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • JTextField (javax.swing)
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now