Uses of Class
org.xnio.ByteString
Packages that use ByteString
-
Uses of ByteString in org.xnio
Methods in org.xnio that return ByteStringModifier and TypeMethodDescriptionByteString.concat
(byte[] suffixBytes) ByteString.concat
(byte[] suffixBytes, int offs, int len) static ByteString
static ByteString
ByteString.concat
(String prefix, ByteString suffix) ByteString.concat
(ByteString suffix) ByteString.concat
(ByteString suffix, int offs, int len) static ByteString
ByteString.copyOf
(byte[] b, int offs, int len) Create a byte string from the given array segment.static ByteString
ByteString.fromInt
(int val) Get a string version of the given value.static ByteString
ByteString.fromLong
(long val) Get a string version of the given value.static ByteString
Get a byte string from the bytes of the character string.static ByteString
Get a byte string from the bytes of a character string.static ByteString
Get a byte string from the bytes of a character string.static ByteString
ByteString.getBytes
(ByteBuffer buffer) Get a byte string from all remaining bytes of a ByteBuffer.static ByteString
ByteString.getBytes
(ByteBuffer buffer, int length) Get a byte string from a ByteBuffer.static ByteString
ByteString.of
(byte... bytes) Create a byte string of the given literal bytes.ByteString.subSequence
(int start, int end) ByteString.substring
(int offs) Get the substring of this string starting at the given offset.ByteString.substring
(int offs, int len) Get the substring of this string starting at the given offset.Methods in org.xnio with parameters of type ByteStringModifier and TypeMethodDescriptionint
ByteString.compareTo
(ByteString other) Compare this string to another in a case-sensitive manner.int
ByteString.compareToIgnoreCase
(ByteString other) Compare this string to another in a case-insensitive manner.static ByteString
ByteString.concat
(String prefix, ByteString suffix) ByteString.concat
(ByteString suffix) ByteString.concat
(ByteString suffix, int offs, int len) boolean
ByteString.contains
(ByteString other) Determine whether this string contains another string (case-sensitive).boolean
ByteString.containsIgnoreCase
(ByteString other) Determine whether this string contains another string (case-insensitive).boolean
ByteString.endsWith
(ByteString suffix) boolean
ByteString.endsWithIgnoreCase
(ByteString suffix) boolean
ByteString.equals
(ByteString other) Determine if this ByteString equals another ByteString.boolean
ByteString.equalsIgnoreCase
(ByteString other) Determine if this ByteString equals another ByteString, ignoring case (ASCII).int
ByteString.indexOf
(ByteString other) int
ByteString.indexOf
(ByteString other, int start) int
ByteString.indexOfIgnoreCase
(ByteString other) int
ByteString.indexOfIgnoreCase
(ByteString other, int start) int
ByteString.lastIndexOf
(ByteString other) int
ByteString.lastIndexOf
(ByteString other, int start) int
ByteString.lastIndexOfIgnoreCase
(ByteString other) int
ByteString.lastIndexOfIgnoreCase
(ByteString other, int start) boolean
ByteString.regionMatches
(boolean ignoreCase, int offset, ByteString other, int otherOffset, int len) boolean
ByteString.startsWith
(ByteString prefix) boolean
ByteString.startsWithIgnoreCase
(ByteString prefix)