View | Details | Raw Unified | Return to bug 243509
Collapse All | Expand All

(-)third_party/snappy/src/snappy.h (-2 / +2 lines)
Lines 73-79 namespace snappy { Link Here
73
  // Original contents of *output are lost.
73
  // Original contents of *output are lost.
74
  //
74
  //
75
  // REQUIRES: "input[]" is not an alias of "*output".
75
  // REQUIRES: "input[]" is not an alias of "*output".
76
  size_t Compress(const char* input, size_t input_length, string* output);
76
  size_t Compress(const char* input, size_t input_length, std::string* output);
77
77
78
  // Decompresses "compressed[0,compressed_length-1]" to "*uncompressed".
78
  // Decompresses "compressed[0,compressed_length-1]" to "*uncompressed".
79
  // Original contents of "*uncompressed" are lost.
79
  // Original contents of "*uncompressed" are lost.
Lines 82-88 namespace snappy { Link Here
82
  //
82
  //
83
  // returns false if the message is corrupted and could not be decompressed
83
  // returns false if the message is corrupted and could not be decompressed
84
  bool Uncompress(const char* compressed, size_t compressed_length,
84
  bool Uncompress(const char* compressed, size_t compressed_length,
85
                  string* uncompressed);
85
                  std::string* uncompressed);
86
86
87
  // Decompresses "compressed" to "*uncompressed".
87
  // Decompresses "compressed" to "*uncompressed".
88
  //
88
  //

Return to bug 243509