PQBridgeObject.h 488 B

12345678910111213141516171819202122232425
  1. //
  2. // PQBridgeObject.h
  3. // PQSpeed
  4. //
  5. // Created by SanW on 2020/8/20.
  6. // Copyright © 2020 BytesFlow. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. #include <ifaddrs.h>
  10. #include <arpa/inet.h>
  11. #include <net/if.h>
  12. NS_ASSUME_NONNULL_BEGIN
  13. @interface PQBridgeObject : NSObject
  14. + (NSString *)getByteRate;
  15. + (long long) getInterfaceBytes;
  16. + (NSString *)formatNetWork:(long long int)rate;
  17. + (NSString *)base64Md5ForFilePath:(NSString *)filePath;
  18. @end
  19. NS_ASSUME_NONNULL_END