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

// https://www.khronos.org/registry/typedarray/specs/latest/#DATAVIEW

[
    ImplementedAs=TestDataView,
] interface DataView : ArrayBufferView {
    [RaisesException] octet getUint8(unsigned long byteOffset);
    [RaisesException] double getFloat64(unsigned long byteOffset, optional boolean littleEndian);

    [RaisesException] void setUint8(unsigned long byteOffset, octet value);
    [RaisesException] void setFloat64(unsigned long byteOffset, double value, optional boolean littleEndian);
};
