no message

This commit is contained in:
Peter
2016-08-23 16:19:22 +03:00
parent 0eb6029dc9
commit efe9ee147d
32 changed files with 174 additions and 12273 deletions

View File

@@ -11,7 +11,7 @@ final class KeychainTable: Table {
func get(_ key: String) -> Data? {
if let value = self.valueBox.get(self.tableId, key: self.key(key)) {
return Data(bytes: UnsafePointer<UInt8>(value.memory), count: value.length)
return Data(bytes: value.memory.assumingMemoryBound(to: UInt8.self), count: value.length)
}
return nil
}