XNIO API 2.1.0.CR2

Uses of Class
org.jboss.xnio.ByteString

Packages that use ByteString
org.jboss.xnio The main API package for XNIO. 
 

Uses of ByteString in org.jboss.xnio
 

Methods in org.jboss.xnio that return ByteString
static ByteString ByteString.copyOf(byte[] b, int offs, int len)
          Create a byte string from the given array segment.
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.getBytes(String str, Charset charset)
          Get a byte string from the bytes of a charater string.
static ByteString ByteString.getBytes(String str, String charset)
          Get a byte string from the bytes of a charater string.
static ByteString ByteString.of(byte... bytes)
          Create a byte string of the given literal bytes.
 ByteString ByteString.substring(int offs)
          Get the substring of this string starting at the given offset.
 ByteString ByteString.substring(int offs, int len)
          Get the substring of this string starting at the given offset.
 

Methods in org.jboss.xnio with parameters of type ByteString
 int ByteString.compareTo(ByteString o)
          Compare this ByteString to another.
 boolean ByteString.equals(ByteString other)
          Determine if this ByteString equals another ByteString.
 


XNIO API 2.1.0.CR2

Copyright © 2010 JBoss, a division of Red Hat, Inc.