Ind.ie is now Small Technology Foundation.
Commit b94af21a authored by Stefan van den Oord's avatar Stefan van den Oord

`pod update` -> SwiftBytes 0.3.1

parent d96b4ce4
......@@ -13,7 +13,7 @@ PODS:
- Nimble (3.2.0)
- OpenSSL-for-iOS (1.0.2.d.1)
- Quick (0.9.2)
- SwiftBytes (0.2.0)
- SwiftBytes (0.3.1)
DEPENDENCIES:
- Base32 (~> 1.0.2)
......@@ -24,7 +24,7 @@ DEPENDENCIES:
- Nimble (~> 3.0)
- OpenSSL-for-iOS (~> 1.0.2.d.0)
- Quick (~> 0.6)
- SwiftBytes (~> 0.2.0)
- SwiftBytes (~> 0.2)
SPEC CHECKSUMS:
Base32: 4e6b6d6c344b48da363c5268f9c391d37893401f
......@@ -35,8 +35,8 @@ SPEC CHECKSUMS:
Nimble: 703854335d181df169bbca9c97117b5cf8c47c1d
OpenSSL-for-iOS: d7a30add88a1969b052135adbe48452af231ed32
Quick: 18d057bc66451eedd5d1c8dc99ba2a5db6e60226
SwiftBytes: a700beb32d020abedd3fc3bb4f0e3b5444cb18b6
SwiftBytes: 262e08479bc103bbb4eccd296e8b8ffb2102f7c3
PODFILE CHECKSUM: b3fac3e0ac42fa0f4c59edd34b15faf8d9233d44
PODFILE CHECKSUM: 0460f65188106d0e50e4bfb60dd99c049697f620
COCOAPODS: 1.0.0.beta.8
......@@ -13,7 +13,7 @@ PODS:
- Nimble (3.2.0)
- OpenSSL-for-iOS (1.0.2.d.1)
- Quick (0.9.2)
- SwiftBytes (0.2.0)
- SwiftBytes (0.3.1)
DEPENDENCIES:
- Base32 (~> 1.0.2)
......@@ -24,7 +24,7 @@ DEPENDENCIES:
- Nimble (~> 3.0)
- OpenSSL-for-iOS (~> 1.0.2.d.0)
- Quick (~> 0.6)
- SwiftBytes (~> 0.2.0)
- SwiftBytes (~> 0.2)
SPEC CHECKSUMS:
Base32: 4e6b6d6c344b48da363c5268f9c391d37893401f
......@@ -35,8 +35,8 @@ SPEC CHECKSUMS:
Nimble: 703854335d181df169bbca9c97117b5cf8c47c1d
OpenSSL-for-iOS: d7a30add88a1969b052135adbe48452af231ed32
Quick: 18d057bc66451eedd5d1c8dc99ba2a5db6e60226
SwiftBytes: a700beb32d020abedd3fc3bb4f0e3b5444cb18b6
SwiftBytes: 262e08479bc103bbb4eccd296e8b8ffb2102f7c3
PODFILE CHECKSUM: b3fac3e0ac42fa0f4c59edd34b15faf8d9233d44
PODFILE CHECKSUM: 0460f65188106d0e50e4bfb60dd99c049697f620
COCOAPODS: 1.0.0.beta.8
......@@ -57,21 +57,21 @@ public func concatenateBits(eightBits : [Bool]) -> UInt8 {
return result;
}
public func concatenateNibbles(left : UInt8, right : UInt8) -> UInt8 {
public func concatenateNibbles(left : UInt8, _ right : UInt8) -> UInt8 {
return left << 4 | right
}
public func concatenateBytes(left : UInt8, right : UInt8) -> UInt16 {
public func concatenateBytes(left : UInt8, _ right : UInt8) -> UInt16 {
return UInt16(left) << 8 | UInt16(right)
}
public func concatenateBytes(b0 : UInt8, b1 : UInt8, b2 : UInt8, b3 : UInt8) -> UInt32 {
public func concatenateBytes(b0 : UInt8, _ b1 : UInt8, _ b2 : UInt8, _ b3 : UInt8) -> UInt32 {
return UInt32(b0) << 24 | UInt32(b1) << 16 | UInt32(b2) << 8 | UInt32(b3)
}
public func concatenateBytes(
b0 : UInt8, b1 : UInt8, b2 : UInt8, b3 : UInt8,
b4 : UInt8, b5 : UInt8, b6 : UInt8, b7 : UInt8) -> UInt64 {
b0 : UInt8, _ b1 : UInt8, _ b2 : UInt8, _ b3 : UInt8,
_ b4 : UInt8, _ b5 : UInt8, _ b6 : UInt8, _ b7 : UInt8) -> UInt64 {
var result : UInt64 = 0
result = result | UInt64(b0) << 56
result = result | UInt64(b1) << 48
......
Swift Bytes
Swift Bytes [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
===========
This library contains a collection of helper methods for byte manipulation in Swift.
......
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.2.0</string>
<string>0.3.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment