@interface NSData : NSObject @property (class, readonly) BOOL supportsSecureCoding; @property (readonly) unsigned long long length; @property (readonly) const void *bytes; + (id)allocWithZone:(struct _NSZone { } *)a0; + (BOOL)_subclassesMustBeExplicitlyMentionedWhenDecoded; + (id)data; + (id)dataWithContentsOfURL:(id)a0; + (id)dataWithBytes:(const void *)a0 length:(unsigned long long)a1; + (id)dataWithBytesNoCopy:(void *)a0 length:(unsigned long long)a1 freeWhenDone:(BOOL)a2; + (id)dataWithContentsOfFile:(id)a0; + (id)dataWithContentsOfURL:(id)a0 options:(unsigned long long)a1 error:(id *)a2; + (id)_alloc; + (BOOL)_base64DecodingAlwaysSucceedsForOptions:(unsigned long long)a0; + (id)_newZeroingDataWithBytes:(const void *)a0 length:(unsigned long long)a1; + (id)_newZeroingDataWithBytesNoCopy:(void *)a0 length:(unsigned long long)a1 deallocator:(id /* block */)a2; + (id)dataWithBytesNoCopy:(void *)a0 length:(unsigned long long)a1; + (id)dataWithContentsOfFile:(id)a0 options:(unsigned long long)a1 error:(id *)a2; + (id)dataWithContentsOfMappedFile:(id)a0; + (id)dataWithContentsOfURL:(id)a0 options:(unsigned long long)a1 maxLength:(unsigned long long)a2 error:(id *)a3; + (id)dataWithData:(id)a0; + (id)CKDataWithHexString:(id)a0; + (id)CKDataWithHexString:(id)a0 stringIsUppercase:(BOOL)a1; - (BOOL)MI_writeAtomicallyToURL:(id)a0 withMode:(unsigned short)a1 owner:(unsigned int)a2 group:(unsigned int)a3 protectionClass:(int)a4 error:(id *)a5; - (BOOL)MI_writeAtomicallyToURLMatchingCurrentFileMetadata:(id)a0 error:(id *)a1; - (BOOL)MI_writeAtomicallyToURL:(id)a0 withMode:(unsigned short)a1 owner:(unsigned int)a2 group:(unsigned int)a3 error:(id *)a4; - (BOOL)MI_writeAtomicallyToURL:(id)a0 withMode:(unsigned short)a1 owner:(unsigned int)a2 group:(unsigned int)a3 protectionClass:(int)a4 withBarrier:(BOOL)a5 error:(id *)a6; - (BOOL)_isCompact; - (BOOL)_providesConcreteBacking; - (BOOL)_allowsDirectEncoding; - (id)initWithBytesNoCopy:(void *)a0 length:(unsigned long long)a1; - (unsigned long long)_cfTypeID; - (id)replacementObjectForPortCoder:(id)a0; - (unsigned long long)hash; - (void)getBytes:(void *)a0 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1; - (id)initWithContentsOfURL:(id)a0 options:(unsigned long long)a1 error:(id *)a2; - (id)initWithBytesNoCopy:(void *)a0 length:(unsigned long long)a1 freeWhenDone:(BOOL)a2; - (id)initWithContentsOfMappedFile:(id)a0 error:(id *)a1; - (id)initWithBytes:(void *)a0 length:(unsigned long long)a1 copy:(BOOL)a2 freeWhenDone:(BOOL)a3 bytesAreVM:(BOOL)a4; - (id)subdataWithRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a0; - (id)initWithContentsOfFile:(id)a0; - (unsigned long long)length; - (id)initWithContentsOfURL:(id)a0; - (id)initWithBase64EncodedString:(id)a0 options:(unsigned long long)a1; - (void)encodeWithCoder:(id)a0; - (id)initWithContentsOfFile:(id)a0 options:(unsigned long long)a1 error:(id *)a2; - (id)initWithBytes:(const void *)a0 length:(unsigned long long)a1; - (BOOL)isNSData__; - (BOOL)writeToFile:(id)a0 atomically:(BOOL)a1; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })rangeOfData:(id)a0 options:(unsigned long long)a1 range:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a2; - (id)initWithBytesNoCopy:(void *)a0 length:(unsigned long long)a1 deallocator:(id /* block */)a2; - (id)initWithData:(id)a0; - (const void *)bytes; - (Class)classForCoder; - (BOOL)_getBPlistMarker:(char *)a0 offset:(unsigned long long *)a1 trailer:(struct { unsigned char x0[5]; unsigned char x1; unsigned char x2; unsigned char x3; unsigned long long x4; unsigned long long x5; unsigned long long x6; } *)a2; - (id)initWithContentsOfFile:(id)a0 error:(id *)a1; - (id)replacementObjectForCoder:(id)a0; - (id)description; - (BOOL)_canReplaceWithDispatchDataForXPCCoder; - (void)getBytes:(void *)a0 length:(unsigned long long)a1; - (id)initWithContentsOfMappedFile:(id)a0; - (BOOL)writeToFile:(id)a0 options:(unsigned long long)a1 error:(id *)a2; - (BOOL)isEqualToData:(id)a0; - (void)getBytes:(void *)a0; - (id)_createDispatchData; - (id)initWithBase64EncodedData:(id)a0 options:(unsigned long long)a1; - (BOOL)writeToURL:(id)a0 options:(unsigned long long)a1 error:(id *)a2; - (id)debugDescription; - (BOOL)writeToURL:(id)a0 atomically:(BOOL)a1; - (BOOL)isEqual:(id)a0; - (id)initWithBytes:(void *)a0 length:(unsigned long long)a1 copy:(BOOL)a2 deallocator:(id /* block */)a3; - (id)mutableCopyWithZone:(struct _NSZone { } *)a0; - (void)enumerateByteRangesUsingBlock:(id /* block */)a0; - (BOOL)_copyWillRetain; - (id)initWithCoder:(id)a0; - (id)copyWithZone:(struct _NSZone { } *)a0; - (BOOL)_isDispatchData; - (id)base64EncodedStringWithOptions:(unsigned long long)a0; - (id)_asciiDescription; - (id)_base64EncodingAsString:(BOOL)a0 withOptions:(unsigned long long)a1; - (id)_compressedDataUsingCompressionAlgorithm:(int)a0 error:(id *)a1; - (BOOL)_decodeBase64EncodedCharacterBuffer:(const char *)a0 length:(unsigned long long)a1 options:(unsigned long long)a2 buffer:(char *)a3 bufferLength:(unsigned long long)a4 state:(struct { BOOL x0; BOOL x1; unsigned long long x2; unsigned long long x3; unsigned long long x4; unsigned int x5; } *)a5; - (id)_decompressedDataUsingCompressionAlgorithm:(int)a0 error:(id *)a1; - (id)_initWithBase64EncodedObject:(id)a0 options:(unsigned long long)a1; - (void)_produceDataWithCompressionOperation:(int)a0 algorithm:(int)a1 handler:(id /* block */)a2; - (id)_replaceCString:(const char *)a0 withCString:(const char *)a1; - (id)_web_guessedMIMEType; - (id)_web_guessedMIMETypeForExtension:(id)a0; - (id)_web_guessedMIMETypeForXML; - (id)_web_parseRFC822HeaderFields; - (id)base64EncodedDataWithOptions:(unsigned long long)a0; - (id)base64Encoding; - (id)compressedDataUsingAlgorithm:(long long)a0 error:(id *)a1; - (id)decompressedDataUsingAlgorithm:(long long)a0 error:(id *)a1; - (id)initWithBase64Encoding:(id)a0; - (id)initWithContentsOfFile:(id)a0 options:(unsigned long long)a1 maxLength:(unsigned long long)a2 error:(id *)a3; - (id)initWithContentsOfURL:(id)a0 options:(unsigned long long)a1 maxLength:(unsigned long long)a2 error:(id *)a3; - (BOOL)writeToFile:(id)a0 atomically:(BOOL)a1 error:(id *)a2; - (BOOL)_isSafeResumeDataForBackgroundDownload; - (id)_requestFromResumeData; - (id)CKHexString; - (id)CKLowercaseHexStringWithoutSpaces; - (id)CKUppercaseHexStringWithoutSpaces; - (id)asMessageSecurityHexString; @end