• Stars
    star
    385
  • Rank 111,464 (Top 3 %)
  • Language
    Swift
  • License
    Apache License 2.0
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Swift Codable-like interfaces for binary representations.

Binary Codable

Binary Codable provides Swift Codable-like interfaces for converting types to and from binary representations.

Binary Codable is optimized for reading and writing blocks of binary data as a stream of bytes. This makes Binary Codable useful for network protocols, binary file formats, and other forms of tightly-packed binary information.

This is not an official Google product.

Features

  • Encode from Swift types to Data.
  • Decode from Data to Swift types.
  • Efficiently encode/decode large blocks of arbitrary data.
  • Lazy decoding (read bytes from a source only as they're needed).
  • Encode and decode fixed-width integer types.
  • Encode and decode strings with or without terminators.
  • Cap decoding containers to a maximum length.

Known usage in the wild

  • BinaryCookies: Read and write Apple's .binarycookies files.
  • MySqlConnector: A pure Swift implementation of the MySql client/server protocol.

Supported technologies

  • iOS 13.0+ / macOS 10.15+
  • Xcode 11.5+
  • Ubuntu 16.04
  • Swift 5.2

License

BinaryCodable is released under the Apache 2.0 license. See LICENSE for more details.

More Repositories

1

nimbus

The iOS framework that grows only as fast as its documentation
Objective-C
6,446
star
2

iOS-Framework

How to create, develop, and distribute iOS Static Frameworks quickly and efficiently
Shell
2,621
star
3

iOS-Best-Practices

Best Practices for iOS Software Design.
480
star
4

ObjQREncoder

Objective-C QR Encoder
Objective-C
390
star
5

liteqr

Lite QR Reader in Objective C ported from zxing
C++
113
star
6

windfish

A tracing disassembler & UI for Gameboy ROMs — integrated with Sameboy for emulation & debugging.
Assembly
69
star
7

swift-midi

MIDI in Swift
Swift
21
star
8

jekyll-dayone

A Day One Jekyll plugin for associating Day One entries with Jekyll posts.
Ruby
20
star
9

Three20-Tutorials

Objective-C
16
star
10

uwdata.ca

The University of Waterloo's Public Data API
PHP
13
star
11

ElectricSidecar

An unofficial companion app for the Porsche Taycan
Swift
10
star
12

OAuthConsumerTouch

OAuthConsumer for the iPhone lineup
Objective-C
9
star
13

BreezeJSEngine

A javascript engine for building games with HTML5 canvas tags.
JavaScript
9
star
14

12tweet

tiny little robots that live in the twittersphere
Python
7
star
15

extXML

Three20 XML Extension for parsing XML objects into Objective-C NSObjects.
Objective-C
5
star
16

extCSSStyle

This extension provides support for reading Three20 style sheets from CSS files.
Objective-C
4
star
17

FigmaKit

A Swift package for working with the Figma API.
Swift
4
star
18

snaapilookup

Snappy API lookups for software developers.
PHP
4
star
19

MySqlClient

A pure Swift MySQL client with Codable query support.
Swift
4
star
20

profiles

Jeff's profiles
Shell
3
star
21

Lighthouse-Keeper-for-Things

A synchronization script from Lighthouse to Things for Mac
Python
3
star
22

playgrounds

Playground versions of featherless software design articles.
Swift
3
star
23

Daydreamer

A Figma viewer created in Swift Playgrounds for iPad
Swift
3
star
24

JVPortfolio

Jeff Verkoeyen's Portfolio
PHP
3
star
25

findpassion

Find's passionate people.
Python
2
star
26

Snaapi

Snaapi API reference.
JavaScript
2
star
27

Github-Issues-2.1

Giving some love to Pull Requests
JavaScript
2
star
28

StormChaser

A large-scale media organization & auditioning app for Apple platforms.
Swift
2
star
29

Nimbus-Speedrun-Settings

Nimbus Speedrun of the Settings iOS app
Objective-C
2
star
30

Three20-Scope

Three20's community.
PHP
1
star
31

nimbus-models

This is a WIP
Swift
1
star
32

macbookproless

Swift
1
star
33

rolypolyadventure

Swift
1
star