chromium/third_party/blink/renderer/modules/webcodecs/array_buffer_util.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/renderer/modules/webcodecs/array_buffer_util.h"

#include "third_party/blink/renderer/platform/heap/collection_support/heap_hash_set.h"

namespace blink {

ArrayBufferContents PinArrayBufferContent(
    const AllowSharedBufferSource* buffer_union) {}

ArrayBufferContents TransferArrayBufferForSpan(
    const HeapVector<Member<DOMArrayBuffer>>& transfer_list,
    base::span<const uint8_t> data_range,
    ExceptionState& exception_state,
    v8::Isolate* isolate) {}

}  // namespace blink