All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.MutableData

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Data
                   |
                   +----com.apple.alpha.core.MutableData

public class MutableData
extends Data
This class wraps the Objective-C class NSMutableData.


Constructor Index

 o MutableData()
This default constructor is equivalent to Objective-C's [[NSMutableData alloc] init].
 o MutableData(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o MutableData(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o MutableData(int)
This constructor has the same effect as calling - initWithCapacity: on a newly allocated object.

Method Index

 o appendData(Data)
A wrapper for the - appendData: Objective-C instance method.
 o dataWithCapacity(int)
A wrapper for the + dataWithCapacity: Objective-C class method.
 o dataWithLength(int)
A wrapper for the + dataWithLength: Objective-C class method.
 o increaseLengthBy(int)
A wrapper for the - increaseLengthBy: Objective-C instance method.
 o resetBytesInRange(Range)
A wrapper for the - resetBytesInRange: Objective-C instance method.
 o serializeAlignedBytesLength(int)
A wrapper for the - serializeAlignedBytesLength: Objective-C instance method.
 o serializeInt(int)
A wrapper for the - serializeInt: Objective-C instance method.
 o serializeIntAtIndex(int, int)
A wrapper for the - serializeInt:atIndex: Objective-C instance method.
 o setData(Data)
A wrapper for the - setData: Objective-C instance method.
 o setLength(int)
A wrapper for the - setLength: Objective-C instance method.

Constructors

 o MutableData
 protected MutableData(boolean shouldAllocate,
                       int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o MutableData
 public MutableData()
This default constructor is equivalent to Objective-C's [[NSMutableData alloc] init].

 o MutableData
 public MutableData(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o MutableData
 public MutableData(int capacity)
This constructor has the same effect as calling - initWithCapacity: on a newly allocated object.

Methods

 o setLength
 public native void setLength(int length)
A wrapper for the - setLength: Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, MutableData, should be enough to head you in the right direction should you find more than one such method).

 o appendData
 public native void appendData(Data other)
A wrapper for the - appendData: Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, MutableData, should be enough to head you in the right direction should you find more than one such method).

 o increaseLengthBy
 public native void increaseLengthBy(int extraLength)
A wrapper for the - increaseLengthBy: Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, MutableData, should be enough to head you in the right direction should you find more than one such method).

 o resetBytesInRange
 public native void resetBytesInRange(Range range)
A wrapper for the - resetBytesInRange: Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, MutableData, should be enough to head you in the right direction should you find more than one such method).

 o setData
 public native void setData(Data data)
A wrapper for the - setData: Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, MutableData, should be enough to head you in the right direction should you find more than one such method).

 o dataWithCapacity
 public static native Object dataWithCapacity(int aNumItems)
A wrapper for the + dataWithCapacity: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, MutableData, should be enough to head you in the right direction should you find more than one such method).

 o dataWithLength
 public static native Object dataWithLength(int length)
A wrapper for the + dataWithLength: Objective-C class method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, MutableData, should be enough to head you in the right direction should you find more than one such method).

 o serializeInt
 public native void serializeInt(int value)
A wrapper for the - serializeInt: Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, MutableData, should be enough to head you in the right direction should you find more than one such method).

 o serializeIntAtIndex
 public native void serializeIntAtIndex(int value,
                                        int index)
A wrapper for the - serializeInt:atIndex: Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, MutableData, should be enough to head you in the right direction should you find more than one such method).

 o serializeAlignedBytesLength
 public native void serializeAlignedBytesLength(int length)
A wrapper for the - serializeAlignedBytesLength: Objective-C instance method. Since this method is not part of the original Objective-C Yellow Box APIs, a link to the relevant documentation cannot be provided at this time. Please look for a method with a similar name in the Objective-C reference (the name of this class, MutableData, should be enough to head you in the right direction should you find more than one such method).


All Packages  Class Hierarchy  This Package  Previous  Next  Index