#include "third_party/blink/renderer/core/streams/readable_stream_byob_request.h"
#include "third_party/blink/renderer/core/typed_arrays/dom_array_buffer_view.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/bindings/v8_binding.h"
namespace blink {
ReadableStreamBYOBRequest::ReadableStreamBYOBRequest(
ReadableByteStreamController* controller,
NotShared<DOMUint8Array> view)
: … { … }
NotShared<DOMArrayBufferView> ReadableStreamBYOBRequest::view() const { … }
void ReadableStreamBYOBRequest::respond(ScriptState* script_state,
uint64_t bytes_written,
ExceptionState& exception_state) { … }
void ReadableStreamBYOBRequest::respondWithNewView(
ScriptState* script_state,
NotShared<DOMArrayBufferView> view,
ExceptionState& exception_state) { … }
void ReadableStreamBYOBRequest::Trace(Visitor* visitor) const { … }
}