DataLireCoder swift package
This commit is contained in:
parent
2cca986016
commit
5aec6ea578
60 changed files with 7144 additions and 0 deletions
8
Sources/DLCDecoder/Protocols/ValueDecoder.swift
Normal file
8
Sources/DLCDecoder/Protocols/ValueDecoder.swift
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import Foundation
|
||||
import DataLiteCore
|
||||
|
||||
public protocol ValueDecoder: Decoder {
|
||||
func decodeNil() -> Bool
|
||||
func decodeDate() throws -> Date
|
||||
func decode<T: SQLiteRawRepresentable>(_ type: T.Type) throws -> T
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue