| Index: net/der/input.cc
|
| diff --git a/net/der/input.cc b/net/der/input.cc
|
| index 45edfdcca67fde5ad002f151d6f2deb7e39c0870..2bcc6a6217d333412988c666ac69810f72c48e92 100644
|
| --- a/net/der/input.cc
|
| +++ b/net/der/input.cc
|
| @@ -23,6 +23,10 @@ bool Input::Equals(const Input& other) const {
|
| return memcmp(data_, other.data_, len_) == 0;
|
| }
|
|
|
| +void Input::CopyToString(std::string* output) const {
|
| + output->assign(reinterpret_cast<const char*>(data_), len_);
|
| +}
|
| +
|
| ByteReader::ByteReader(const Input& in)
|
| : data_(in.UnsafeData()), len_(in.Length()) {
|
| }
|
|
|