The Skung Rockification of Ziggy Skungdust and the SIMD's
This commit is contained in:
1 parent
b62cd056b5
commit
6c44476062
40 files changed
+2066
-386
No files matched your search
@@ -4,7 +4,7 @@ import Foundation
|
||||
extension FileHandle
|
||||
{
|
||||
// FixedWidthInteger or BinaryFloatingPoint
|
||||
func read<T: FixedWidthInteger>(as: T.Type) throws -> T
|
||||
func read<T>(as: T.Type) throws -> T
|
||||
{
|
||||
let size = MemoryLayout<T>.size
|
||||
guard let data = try self.read(upToCount: size)
|
||||
|
||||
Reference in new issue
Block a user