Shaka Packager SDK
kv_pairs.h
1 // Copyright 2022 Google LLC. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #include <string>
8 #include <string_view>
9 #include <utility>
10 #include <vector>
11 
12 namespace shaka {
13 
14 typedef std::pair<std::string, std::string> KVPair;
15 std::vector<KVPair> SplitStringIntoKeyValuePairs(std::string_view str,
16  char kv_separator = '=',
17  char list_separator = '&');
18 
19 } // namespace shaka
All the methods that are virtual are virtual for mocking.
Definition: crypto_flags.cc:66