no message

This commit is contained in:
Peter
2016-11-22 21:30:16 +03:00
parent 45f81135c2
commit 6ab5c9b3b0
3 changed files with 80 additions and 19 deletions

View File

@@ -31,6 +31,10 @@ public func declareEncodable(_ type: Any.Type, f: @escaping(Decoder) -> Coding)
typeStore.dict[murMurHashString32("\(type)")] = f
}
public func persistentHash32(_ string: String) -> Int32 {
return murMurHashString32(string)
}
private let emptyMemory = malloc(1)!
public class MemoryBuffer: Equatable, CustomStringConvertible {