diff --git a/native/ios/Comm/TemporalMessageStorage/EncryptedFileUtils.h b/native/ios/Comm/TemporalMessageStorage/EncryptedFileUtils.h new file mode 100644 --- /dev/null +++ b/native/ios/Comm/TemporalMessageStorage/EncryptedFileUtils.h @@ -0,0 +1,12 @@ +#import + +@interface EncryptedFileUtils : NSObject ++ (void)writeData:(NSString *)data + toFileAtPath:(NSString *)path + error:(NSError **)err; ++ (void)appendData:(NSString *)data + toFileAtPath:(NSString *)path + error:(NSError **)err; ++ (NSString *)readFromFileAtPath:(NSString *)path error:(NSError **)err; ++ (void)clearContentAtPath:(NSString *)path error:(NSError **)err; +@end