     }
 
     public var asData: Data {
-        var littleEndian = bitPattern.littleEndian
-        return Data(buffer: UnsafeBufferPointer(start: &littleEndian, count: 1))
+        return bitPattern.littleEndian.asData
     }
     
 }

    }

    public var asData: Data {
        return self.timeIntervalSinceReferenceDate.asData
    }
    
}

    
    public var asData: Data {
        var littleEndian = self.littleEndian
        return Data(bytes: &littleEndian, count: MemoryLayout<Self>.size)
    }
    
}
