1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-26 23:52:26 +00:00
CLK/OSBindings/Mac/Clock SignalTests/NSData+dataWithContentsOfGZippedFile.h

21 lines
470 B
C
Raw Normal View History

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)
/// 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