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:
  • Constructor Details

    • Empty

      public Empty()
  • Method Details

    • 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_