uk.me.parabola.imgfmt.app.labelenc
Class EncodedText

java.lang.Object
  extended by uk.me.parabola.imgfmt.app.labelenc.EncodedText

public class EncodedText
extends java.lang.Object

Holds the bytes and length of an encoded character string used in a label. The length of the byte array may be longer than the part that is actually used, so the length property should always be used. Class is immutable.

Author:
Steve Ratcliffe

Constructor Summary
EncodedText(byte[] buf, int len)
           
 
Method Summary
 byte[] getCtext()
           
 int getLength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EncodedText

public EncodedText(byte[] buf,
                   int len)
Method Detail

getCtext

public byte[] getCtext()

getLength

public int getLength()