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