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