         }
     }
     
-    
-    
     // #pragma mark ----------------------------------------------------------------
     
     

        
        // works only by value?
        if data {
            var result : H
            
            data.getBytes(&result)
            

        
    func readData() -> D! {
        
        var data = self.fileHandle.readDataOfLength(sizeof(D)); //return NSData
        
        // works only by value?
        if data {
            var buffer : CMutablePointer<D> = nil
            data.getBytes(&buffer)
            
            let result = buffer.withUnsafePointer {p in
                p.memory
            }
            
            return result;
        }
        
        return nil;
