19 #ifndef PAGESPEED_KERNEL_CACHE_KEY_VALUE_CODEC_H_
20 #define PAGESPEED_KERNEL_CACHE_KEY_VALUE_CODEC_H_
25 namespace net_instaweb {
29 namespace key_value_codec {
36 bool Encode(StringPiece key,
const SharedString& value,
37 SharedString* key_and_value);
44 bool Decode(SharedString* key_and_value,
GoogleString* key,
48 int GetValueSizeFromKeyAndKeyValue(StringPiece key,
49 const SharedString& key_and_value);
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24