类 ByteArrayBuffer

java.lang.Object
com.sh.mail.mime4j.util.ByteArrayBuffer
所有已实现的接口:
ByteSequence

public final class ByteArrayBuffer extends Object implements ByteSequence

Description:

Title:首亨软件 - TSS/CRM等

从以下版本开始:
Aug 16, 2012
  • 构造器详细资料

    • ByteArrayBuffer

      public ByteArrayBuffer(int capacity)
    • ByteArrayBuffer

      public ByteArrayBuffer(byte[] bytes, boolean dontCopy)
    • ByteArrayBuffer

      public ByteArrayBuffer(byte[] bytes, int len, boolean dontCopy)
  • 方法详细资料

    • append

      public void append(byte[] b, int off, int len)
    • append

      public void append(int b)
    • clear

      public void clear()
    • toByteArray

      public byte[] toByteArray()
      从接口复制的说明: ByteSequence
      Copies the contents of this byte sequence into a newly allocated byte array and returns that array.
      指定者:
      toByteArray 在接口中 ByteSequence
      返回:
      a byte array holding a copy of this byte sequence.
    • byteAt

      public byte byteAt(int i)
      指定者:
      byteAt 在接口中 ByteSequence
    • capacity

      public int capacity()
    • length

      public int length()
      从接口复制的说明: ByteSequence
      Returns the length of this byte sequence.
      指定者:
      length 在接口中 ByteSequence
      返回:
      the number of bytes in this sequence.
    • buffer

      public byte[] buffer()
    • indexOf

      public int indexOf(byte b)
    • indexOf

      public int indexOf(byte b, int beginIndex, int endIndex)
    • setLength

      public void setLength(int len)
    • remove

      public void remove(int off, int len)
    • isEmpty

      public boolean isEmpty()
    • isFull

      public boolean isFull()
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object