Skip to content

StanfordSpezi/SpeziNetworking

Repository files navigation

SpeziNetworking

Build and Test codecov DOI A collection of networking-related infrastructure to support Spezi applications.

Overview

SpeziNetworking provides easy to use infrastructure in networking applications.

ByteCoding

The ByteCoding package provides the necessary infrastructure to make encoding and decoding of a type to or from its respective binary representation easy to use.

Type Description
ByteCodable A type that is encodable to and decodable from a byte representation.
ByteEncodable A type that is decodable to a byte representation.
ByteDecodable A type that is decodable from a byte representation.

SpeziNumerics

Implementation of numeric types that are not supported out of the box in the standard library or are only found in networking protocols.

Type Description
MedFloat16 Medical 16-bit float using base 10
Int24/UInt24 Support Support reading and writing Int24 and UInt24 with ByteBuffer

Setup

You need to add the SpeziNetworking Swift package to your app in Xcode or Swift package.

License

This project is licensed under the MIT License. See Licenses for more information.

Contributors

This project is developed as part of the Stanford Byers Center for Biodesign at Stanford University. See CONTRIBUTORS.md for a full list of all TemplatePackage contributors.

Stanford Byers Center for Biodesign Logo Stanford Byers Center for Biodesign Logo