Class CFMutableData

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class CFMutableData
    extends CFData
    • Constructor Detail

      • CFMutableData

        protected CFMutableData()
    • Method Detail

      • asByteBuffer

        public java.nio.ByteBuffer asByteBuffer()
        Overrides:
        asByteBuffer in class CFData
      • append

        public CFMutableData append​(java.nio.ByteBuffer bytes)
      • append

        public CFMutableData append​(byte[] bytes,
                                    int offset,
                                    int length)
      • insert

        public CFMutableData insert​(long location,
                                    java.nio.ByteBuffer bytes)
      • insert

        public CFMutableData insert​(long location,
                                    byte[] bytes)
      • insert

        public CFMutableData insert​(long location,
                                    byte[] bytes,
                                    int offset,
                                    int length)
      • replace

        public CFMutableData replace​(CFRange range,
                                     byte[] bytes,
                                     int offset,
                                     int length)
      • getMutableBytePtr

        protected long getMutableBytePtr()
      • setLength

        public void setLength​(long length)
      • increaseLength

        public void increaseLength​(long extraLength)
      • append

        protected void append​(long bytes,
                              long length)
      • replace

        protected void replace​(CFRange range,
                               long newBytes,
                               long newLength)
      • deleteBytes

        protected void deleteBytes​(CFRange range)