// // ALTWiredConnection.h // AltServer // // Created by Riley Testut on 1/10/20. // Copyright © 2020 Riley Testut. All rights reserved. // #import NS_ASSUME_NONNULL_BEGIN NS_SWIFT_NAME(WiredConnection) @interface ALTWiredConnection : NSObject @property (nonatomic, copy, readonly) ALTDevice *device; - (void)sendData:(NSData *)data completionHandler:(void (^)(BOOL, NSError * _Nullable))completionHandler; - (void)receiveDataWithExpectedSize:(NSInteger)expectedSize completionHandler:(void (^)(NSData * _Nullable, NSError * _Nullable))completionHandler; - (void)disconnect; @end NS_ASSUME_NONNULL_END