Class NSMutableData

All Implemented Interfaces:
NSObjectProtocol, NSPropertyList, ObjCProtocol

public class NSMutableData
extends NSData
  • Constructor Details

    • NSMutableData

      public NSMutableData()
    • NSMutableData

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

      protected NSMutableData​(NSObject.SkipInit skipInit)
    • NSMutableData

      public NSMutableData​(long capacity)
  • Method Details

    • getMutableBytes

      protected long getMutableBytes()
    • asByteBuffer

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

      public NSMutableData append​(ByteBuffer bytes)
    • append

      public NSMutableData append​(byte[] bytes)
    • append

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

      public NSMutableData insert​(long location, 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, ByteBuffer bytes)
    • replace

      public NSMutableData replace​(NSRange range, byte[] bytes)
    • replace

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

      public NSMutableData delete​(NSRange range)
    • 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)