类 RandomAccessByteArrayOutputStream

  • 所有已实现的接口:
    , ,

    public class RandomAccessByteArrayOutputStream
    extends 
    • 构造器详细资料

      • RandomAccessByteArrayOutputStream

        public RandomAccessByteArrayOutputStream()
      • RandomAccessByteArrayOutputStream

        public RandomAccessByteArrayOutputStream​(int size)
    • 方法详细资料

      • write

        public void write​(int b)
        指定者:
         在类中 
      • write

        public void write​(byte[] b,
                          int off,
                          int len)
        覆盖:
         在类中 
      • size

        public int size()
      • setWriteIndex

        public void setWriteIndex​(int index)
      • reset

        public void reset()
      • toByteArray

        public byte[] toByteArray()
      • toByteBuffer

        public  toByteBuffer()
      • writeTo

        public void writeTo​( out)
                     throws 
        抛出:
      • toString

        public  toString()
        覆盖:
         在类中 
      • toString

        public  toString​( charset)
                        throws 
        抛出:
      • close

        public void close()
                   throws 
        指定者:
         在接口中 
        指定者:
         在接口中 
        覆盖:
         在类中 
        抛出: