chromium/third_party/blink/renderer/core/fileapi/file_reader_data.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/fileapi/file_reader_data.h"

#include "third_party/blink/renderer/core/html/parser/text_resource_decoder.h"
#include "third_party/blink/renderer/platform/wtf/text/base64.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"

namespace blink {

namespace {

DOMArrayBuffer* ToDOMArrayBuffer(ArrayBufferContents raw_data) {}

String ToDataURL(ArrayBufferContents raw_data, const String& data_type) {}

String ToBinaryString(ArrayBufferContents raw_data) {}

String ToTextString(ArrayBufferContents raw_data,
                    const WTF::TextEncoding& encoding) {}

String ToString(ArrayBufferContents raw_data,
                FileReadType read_type,
                const WTF::TextEncoding& encoding,
                const String& data_type) {}

}  // namespace

ArrayBufferContents FileReaderData::AsArrayBufferContents() && {}
DOMArrayBuffer* FileReaderData::AsDOMArrayBuffer() && {}
String FileReaderData::AsBinaryString() && {}
String FileReaderData::AsText(const String& encoding) && {}
String FileReaderData::AsDataURL(const String& data_type) && {}
String FileReaderData::AsString(FileReadType read_type,
                                const String& encoding,
                                const String& data_type) && {}

}  // namespace blink