mirror of
https://github.com/apple/swift-http-structured-headers
synced 2026-11-25 04:47:48 +00:00
Support Encoder
This commit is contained in:
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]
|
||||
|
||||
|
||||
Reference in new issue
Block a user