Class NSMutableData

    • Constructor Detail

      • NSMutableData

        public NSMutableData()
      • NSMutableData

        protected NSMutableData​(NSObject.Handle h,
                                long handle)
      • NSMutableData

        public NSMutableData​(long capacity)
    • Method Detail

      • getMutableBytes

        protected long getMutableBytes()
      • asByteBuffer

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

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

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

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

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

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

        public NSMutableData replace​(NSRange range,
                                     byte[] bytes,
                                     int offset,
                                     int length)
      • appendBytes

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

        public void append​(NSData other)
      • increaseLength

        public void increaseLength​(long extraLength)
      • replaceBytes

        protected void replaceBytes​(NSRange range,
                                    long bytes)
      • reset

        public void reset​(NSRange range)
      • setData

        public void setData​(NSData data)
      • replaceBytes

        protected void replaceBytes​(NSRange range,
                                    long replacementBytes,
                                    long replacementLength)
      • init

        protected long init​(long capacity)