Page Speed Optimization Libraries  1.13.35.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Functions
key_value_codec.h File Reference
#include "pagespeed/kernel/base/string.h"
#include "pagespeed/kernel/base/string_util.h"

Go to the source code of this file.

Namespaces

 net_instaweb
 Unit-test framework for wget fetcher.
 

Functions

bool net_instaweb::key_value_codec::Encode (StringPiece key, const SharedString &value, SharedString *key_and_value)
 
bool net_instaweb::key_value_codec::Decode (SharedString *key_and_value, GoogleString *key, SharedString *value)
 
int net_instaweb::key_value_codec::GetValueSizeFromKeyAndKeyValue (StringPiece key, const SharedString &key_and_value)
 Given a key and the encoded key_and_value, returns the size of the value.