zworld-em/Plugins/sentry-unreal/Source/ThirdParty/Mac/include/Sentry/SentryNSDataUtils.h

15 lines
404 B
C
Raw Normal View History

2025-05-11 22:07:21 +08:00
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
NSData *_Nullable sentry_gzippedWithCompressionLevel(
NSData *data, NSInteger compressionLevel, NSError *_Nullable *_Nullable error);
/**
* Adds a null character to the end of the byte array. This helps when strings should be null
* terminated.
*/
NSData *_Nullable sentry_nullTerminated(NSData *_Nullable data);
NS_ASSUME_NONNULL_END