1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "encodings/compact_lang_det/string_byte_sink.h"
11 StringByteSink::StringByteSink(string
* dest
) : dest_(dest
) {}
13 StringByteSink::~StringByteSink() {}
15 void StringByteSink::Append(const char* data
, int32_t n
) {
16 dest_
->append(data
, n
);