Update comments
This commit is contained in:
parent
479913f0f0
commit
f1ef6a7270
|
@ -175,7 +175,7 @@ extension BinaryReader {
|
|||
do {
|
||||
return try reader.readUInt8()
|
||||
}
|
||||
catch /*let error*/ {
|
||||
catch {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ extension BinaryReader {
|
|||
do {
|
||||
return try reader.readUInt16()
|
||||
}
|
||||
catch /*let error*/ {
|
||||
catch {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
@ -235,7 +235,7 @@ extension BinaryReader {
|
|||
do {
|
||||
return try reader.readUInt32()
|
||||
}
|
||||
catch /*let error*/ {
|
||||
catch {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,10 +9,18 @@
|
|||
// TODO: Documentation
|
||||
/// No overview available.
|
||||
public enum CSVError: Error {
|
||||
|
||||
/// No overview available.
|
||||
case cannotOpenFile
|
||||
/// No overview available.
|
||||
case cannotReadFile
|
||||
/// No overview available.
|
||||
case streamErrorHasOccurred(error: Error)
|
||||
/// No overview available.
|
||||
case cannotReadHeaderRow
|
||||
/// No overview available.
|
||||
case stringEncodingMismatch
|
||||
/// No overview available.
|
||||
case stringEndianMismatch
|
||||
|
||||
}
|
||||
|
|
|
@ -9,7 +9,12 @@
|
|||
// TODO: Documentation
|
||||
/// No overview available.
|
||||
public enum Endian {
|
||||
|
||||
/// No overview available.
|
||||
case big
|
||||
/// No overview available.
|
||||
case little
|
||||
/// No overview available.
|
||||
case unknown
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue