 }
 
 private extension Int64 {
-    public func getUInt64() -> UInt64{
+    private func getUInt64() -> UInt64{
         let bytes = IntConverter().toByteArray(self)
-        var value = bytes.withUnsafeBufferPointer({
+        let value = bytes.withUnsafeBufferPointer({
             UnsafePointer<UInt64>($0.baseAddress).memory
         })
         return value

}

private extension UInt64 {
    public func getInt64() -> Int64{
        let bytes = IntConverter().toByteArray(self)
        var value = bytes.withUnsafeBufferPointer({
            UnsafePointer<Int64>($0.baseAddress).memory
        })
        return value

}

private class IntConverter {
    private func toByteArray<T>(value_: T) -> [UInt8] {
        var value = value_
        return withUnsafePointer(&value) {
            Array(UnsafeBufferPointer(start: UnsafePointer<UInt8>($0), count: 8))
