public boolean decodeBoolean(String key) { return decodeBool0(key); } public int decodeInteger(String key) {
public byte[] decodeBytes() { MachineSizedUIntPtr lengthPtr = new MachineSizedUIntPtr(); BytePtr bytePtr = decodeBytes0(lengthPtr); return bytePtr.toByteArray((int)lengthPtr.get()); } public void encodeObject(String key, NSObject value) {
public double decodeDouble(String key) { return decodeDouble0(key); } public byte[] decodeBytes(String key) {
/** * @since Available in iOS 9.0 and later. */ public NSObject decodeTopLevelObject(String key) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSObject result = decodeTopLevelObject(key, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 6.0 and later. */ public NSObject decodeObject(String key, List<ObjCClass> clazzes) { return decodeObject0(clazzes, key); }
public String decodeString(String key) { NSObject value = decodeObject(key); if (value instanceof NSString) { return ((NSString)value).toString(); } return null; } /*<methods>*/
public int decodeInteger(String key) { return decodeInt320(key); } public long decodeLong(String key) {
public long decodeLong(String key) { return decodeInt640(key); } public float decodeFloat(String key) {
public float decodeFloat(String key) { return decodeFloat0(key); } public double decodeDouble(String key) {
public void encodeBoolean(String key, boolean value) { encodeBool0(value, key); } public void encodeInteger(String key, int value) {
/** * @since Available in iOS 9.0 and later. */ public NSObject decodeTopLevelObject(NSSet<?> classes, String key) throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSObject result = decodeTopLevelObject(classes, key, ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
public NSObject decodeObject(String key) { return decodeObject0(key); } public boolean decodeBoolean(String key) {
public String decodeString(String key) { NSObject value = decodeObject(key); if (value instanceof NSString) { return ((NSString)value).toString(); } return null; } /*<methods>*/
public int decodeInteger(String key) { return decodeInt320(key); } public long decodeLong(String key) {
public long decodeLong(String key) { return decodeInt640(key); } public float decodeFloat(String key) {
public float decodeFloat(String key) { return decodeFloat0(key); } public double decodeDouble(String key) {
public void encodeBoolean(String key, boolean value) { encodeBool0(value, key); } public void encodeInteger(String key, int value) {
/** * @since Available in iOS 9.0 and later. */ public NSObject decodeTopLevelObject() throws NSErrorException { NSError.NSErrorPtr ptr = new NSError.NSErrorPtr(); NSObject result = decodeTopLevelObject(ptr); if (ptr.get() != null) { throw new NSErrorException(ptr.get()); } return result; } /**
/** * @since Available in iOS 6.0 and later. */ public NSObject decodeObject(String key, Class<? extends NSObject> clazz) { return decodeObject0(clazz, key); } /**
public byte[] decodeBytes(String key) { MachineSizedUIntPtr lengthPtr = new MachineSizedUIntPtr(); BytePtr bytesPtr = decodeBytes0(key, lengthPtr); return bytesPtr.toByteArray((int)lengthPtr.get()); } /**