ucar.unidata.util
Class ByteString.Empty
java.lang.Object
ucar.unidata.util.ByteString
ucar.unidata.util.ByteString.Empty
- All Implemented Interfaces:
- Serializable, Comparable
- Direct Known Subclasses:
- Tokenizer.EmptyToken
- Enclosing class:
- ByteString
public static class ByteString.Empty
- extends ByteString
Class Empty
- Version:
- %I%, %G%
- Author:
- Unidata development team
- See Also:
- Serialized Form
|
Method Summary |
byte |
byteAt(int pos)
_more_ |
byte[] |
copyBytes(int srcpos,
byte[] dst,
int dstpos,
int nbytes)
_more_ |
int |
getLength()
_more_ |
byte[] |
toArray()
_more_ |
| Methods inherited from class ucar.unidata.util.ByteString |
ByteToChar8859_1, charAt, CharToByte8859_1, compare, compare, compareTo, compareTo, compareTo, concat, concat, equals, equalS, format, hashCode, length, main, subByteString, substring, substring, toString |
ByteString.Empty
public ByteString.Empty()
getLength
public int getLength()
- _more_
- Specified by:
getLength in class ByteString
- Returns:
- _more_
byteAt
public byte byteAt(int pos)
- _more_
- Specified by:
byteAt in class ByteString
- Parameters:
pos -
- Returns:
- _more_
copyBytes
public byte[] copyBytes(int srcpos,
byte[] dst,
int dstpos,
int nbytes)
- _more_
- Overrides:
copyBytes in class ByteString
- Parameters:
srcpos - dst - dstpos - nbytes -
- Returns:
- _more_
toArray
public byte[] toArray()
- _more_
- Overrides:
toArray in class ByteString
- Returns:
- _more_