Support Encoder

This commit is contained in:
Cory Benfield committed 2020-07-15 16:20:26 +01:00
1 parent 882cb88c87
commit ea7969a4c6
5 files changed
+1427 -1

No files matched your search

@@ -64,7 +64,7 @@ extension StructuredFieldDecoder {
class _StructuredFieldDecoder<BaseData: RandomAccessCollection> where BaseData.Element == UInt8, BaseData.SubSequence: Hashable {
private var parser: StructuredFieldParser<BaseData>
// For now we use a stack here because the CoW operations on Array would stuck. Ideally I'd just have us decode
// For now we use a stack here because the CoW operations on Array would suck. Ideally I'd just have us decode
// our way down with values, but doing that is a CoWy nightmare from which we cannot escape.
private var _codingStack: [CodingStackEntry]