We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2657de commit 887cecdCopy full SHA for 887cecd
BinaryDecoder.swift
@@ -218,6 +218,10 @@ extension BinaryDecoder: Decoder {
218
return try decoder.decode(type)
219
}
220
221
+ func decodeNil() -> Bool {
222
+ return true
223
+ }
224
+
225
func nestedContainer<NestedKey>(keyedBy type: NestedKey.Type) throws -> KeyedDecodingContainer<NestedKey> where NestedKey : CodingKey {
226
return try decoder.container(keyedBy: type)
227
@@ -229,10 +233,6 @@ extension BinaryDecoder: Decoder {
229
233
func superDecoder() throws -> Decoder {
230
234
return decoder
231
235
232
-
- func decodeNil() -> Bool {
- return true
- }
236
237
238
0 commit comments