com.kenai.jaffl.provider
Class StringIO

java.lang.Object
  extended by com.kenai.jaffl.provider.StringIO

public final class StringIO
extends Object


Method Summary
 CharSequence fromNative(ByteBuffer buf)
           
 CharSequence fromNative(ByteBuffer buf, int maxSize)
           
static StringIO getStringIO()
           
static StringIO getStringIO(Charset charset)
           
 void nulTerminate(ByteBuffer buf)
           
 ByteBuffer toNative(CharSequence value, ByteBuffer buf)
           
 ByteBuffer toNative(CharSequence value, int minSize, boolean copyIn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getStringIO

public static StringIO getStringIO()

getStringIO

public static StringIO getStringIO(Charset charset)

toNative

public final ByteBuffer toNative(CharSequence value,
                                 int minSize,
                                 boolean copyIn)

toNative

public final ByteBuffer toNative(CharSequence value,
                                 ByteBuffer buf)

fromNative

public final CharSequence fromNative(ByteBuffer buf,
                                     int maxSize)

fromNative

public final CharSequence fromNative(ByteBuffer buf)

nulTerminate

public final void nulTerminate(ByteBuffer buf)


Copyright © 2011. All Rights Reserved.