sig
type t
external make : Js_typed_array.array_buffer -> Js_typed_array.DataView.t
= "DataView" "BS-EXTERNAL"
external fromBuffer :
Js_typed_array.array_buffer -> Js_typed_array.DataView.t = "DataView"
"BS-EXTERNAL"
external fromBufferOffset :
Js_typed_array.array_buffer -> int -> Js_typed_array.DataView.t
= "DataView" "BS-EXTERNAL"
external fromBufferRange :
Js_typed_array.array_buffer ->
offset:int -> length:int -> Js_typed_array.DataView.t = "DataView"
"BS-EXTERNAL"
external buffer : Js_typed_array.DataView.t -> Js_typed_array.array_buffer
= "" "BS-EXTERNAL"
external byteLength : Js_typed_array.DataView.t -> int = "" "BS-EXTERNAL"
external byteOffset : Js_typed_array.DataView.t -> int = "" "BS-EXTERNAL"
external getInt8 : Js_typed_array.DataView.t -> int -> int = ""
"BS-EXTERNAL"
external getUint8 : Js_typed_array.DataView.t -> int -> int = ""
"BS-EXTERNAL"
external getInt16 : Js_typed_array.DataView.t -> int -> int = ""
"BS-EXTERNAL"
external getInt16LittleEndian : Js_typed_array.DataView.t -> int -> int
= "getInt16" "BS-EXTERNAL"
external getUint16 : Js_typed_array.DataView.t -> int -> int = ""
"BS-EXTERNAL"
external getUint16LittleEndian : Js_typed_array.DataView.t -> int -> int
= "getUint16" "BS-EXTERNAL"
external getInt32 : Js_typed_array.DataView.t -> int -> int = ""
"BS-EXTERNAL"
external getInt32LittleEndian : Js_typed_array.DataView.t -> int -> int
= "getInt32" "BS-EXTERNAL"
external getUint32 : Js_typed_array.DataView.t -> int -> int = ""
"BS-EXTERNAL"
external getUint32LittleEndian : Js_typed_array.DataView.t -> int -> int
= "getUint32" "BS-EXTERNAL"
external getFloat32 : Js_typed_array.DataView.t -> int -> float = ""
"BS-EXTERNAL"
external getFloat32LittleEndian : Js_typed_array.DataView.t -> int -> float
= "getFloat32" "BS-EXTERNAL"
external getFloat64 : Js_typed_array.DataView.t -> int -> float = ""
"BS-EXTERNAL"
external getFloat64LittleEndian : Js_typed_array.DataView.t -> int -> float
= "getFloat64" "BS-EXTERNAL"
external setInt8 : Js_typed_array.DataView.t -> int -> int -> unit = ""
"BS-EXTERNAL"
external setUint8 : Js_typed_array.DataView.t -> int -> int -> unit = ""
"BS-EXTERNAL"
external setInt16 : Js_typed_array.DataView.t -> int -> int -> unit = ""
"BS-EXTERNAL"
external setInt16LittleEndian :
Js_typed_array.DataView.t -> int -> int -> unit = "setInt16"
"BS-EXTERNAL"
external setUint16 : Js_typed_array.DataView.t -> int -> int -> unit = ""
"BS-EXTERNAL"
external setUint16LittleEndian :
Js_typed_array.DataView.t -> int -> int -> unit = "setUint16"
"BS-EXTERNAL"
external setInt32 : Js_typed_array.DataView.t -> int -> int -> unit = ""
"BS-EXTERNAL"
external setInt32LittleEndian :
Js_typed_array.DataView.t -> int -> int -> unit = "setInt32"
"BS-EXTERNAL"
external setUint32 : Js_typed_array.DataView.t -> int -> int -> unit = ""
"BS-EXTERNAL"
external setUint32LittleEndian :
Js_typed_array.DataView.t -> int -> int -> unit = "setUint32"
"BS-EXTERNAL"
external setFloat32 : Js_typed_array.DataView.t -> int -> float -> unit
= "" "BS-EXTERNAL"
external setFloat32LittleEndian :
Js_typed_array.DataView.t -> int -> float -> unit = "setFloat32"
"BS-EXTERNAL"
external setFloat64 : Js_typed_array.DataView.t -> int -> float -> unit
= "" "BS-EXTERNAL"
external setFloat64LittleEndian :
Js_typed_array.DataView.t -> int -> float -> unit = "setFloat64"
"BS-EXTERNAL"
end