DataLireCoder swift package
This commit is contained in:
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
|
||||
}
|
||||
Reference in New Issue
Block a user