org.hd.d.pg2k.svrCore
Interface TextUtils.CharSequence8Bit

All Superinterfaces:
java.lang.CharSequence
All Known Implementing Classes:
CS8Bit, Name, Name.CSWrapper, Name.ExhibitFull, Name.ExhibitShort, WrappedByteArrayCharSequence
Enclosing class:
TextUtils

public static interface TextUtils.CharSequence8Bit
extends java.lang.CharSequence

Extension for a CharSequence that holds only 8-bit character values. The implementation of this may often hold the underlying data as a byte array.


Method Summary
 byte[] toByteArray()
          Return private copy (8-bit) text with each byte corresponding to one char; never null.
 
Methods inherited from interface java.lang.CharSequence
charAt, length, subSequence, toString
 

Method Detail

toByteArray

byte[] toByteArray()
Return private copy (8-bit) text with each byte corresponding to one char; never null. May be far more efficient than converting via a String if the aim is to write directly to a file for example.


DHD Multimedia Gallery V1.57.21

Copyright (c) 1996-2011, Damon Hart-Davis. All rights reserved.