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 a6d7e2f commit 52b326aCopy full SHA for 52b326a
Sources/Valkey/RESP/RESPTokenDecodable.swift
@@ -64,17 +64,6 @@ extension RESPToken: RESPTokenDecodable {
64
}
65
66
67
-extension Array where Element == RESPToken {
68
- /// Convert RESPToken Array to a value array
69
- /// - Parameter type: Type to convert to
70
- /// - Throws: ValkeyClientError.unexpectedType
71
- /// - Returns: Array of Value
72
- @inlinable
73
- public func decode<Value: RESPTokenDecodable>(as type: [Value].Type = [Value].self) throws -> [Value] {
74
- try self.map { try $0.decode() }
75
- }
76
-}
77
-
78
extension ByteBuffer: RESPTokenDecodable {
79
@inlinable
80
public init(fromRESP token: RESPToken) throws {
0 commit comments