2022-08-08 14:52:55 +00:00
|
|
|
//
|
|
|
|
// NSData+dataWithContentsOfGZippedFile.h
|
|
|
|
// Clock SignalTests
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 08/08/2022.
|
|
|
|
// Copyright © 2022 Thomas Harte. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@interface NSData (dataWithContentsOfGZippedFile)
|
|
|
|
|
2022-08-08 19:17:04 +00:00
|
|
|
/// Performs an in-memory decompression of the named file, returning it as ephemeral data.
|
2022-08-08 14:52:55 +00:00
|
|
|
+ (instancetype)dataWithContentsOfGZippedFile:(NSString *)path;
|
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|