sig
type t
external make : Js_typed_array.array_buffer -> Js_typed_array.DataView.t
= "DataView" "BS:1.7.0 B@@@(DataView@@"
external fromBuffer :
Js_typed_array.array_buffer -> Js_typed_array.DataView.t = "DataView"
"BS:1.7.0 B@@@(DataView@@"
external fromBufferOffset :
Js_typed_array.array_buffer -> int -> Js_typed_array.DataView.t
= "DataView" "BS:1.7.0 B@B@@(DataView@@"
external fromBufferRange :
Js_typed_array.array_buffer ->
offset:int -> length:int -> Js_typed_array.DataView.t = "DataView"
"BS:1.7.0 - . +B@B&offset@B&length@@@(DataView@@"
external buffer : Js_typed_array.DataView.t -> Js_typed_array.array_buffer
= "" "BS:1.7.0 B@@@&buffer"
external byteLength : Js_typed_array.DataView.t -> int = ""
"BS:1.7.0 B@@@*byteLength"
external byteOffset : Js_typed_array.DataView.t -> int = ""
"BS:1.7.0 B@@@*byteOffset"
external getInt8 : Js_typed_array.DataView.t -> int -> int = ""
"BS:1.7.0 B@B@@'getInt8@@"
external getUint8 : Js_typed_array.DataView.t -> int -> int = ""
"BS:1.7.0 B@B@@(getUint8@@"
external getInt16 : Js_typed_array.DataView.t -> int -> int = ""
"BS:1.7.0 B@B@@(getInt16@@"
external getInt16LittleEndian : Js_typed_array.DataView.t -> int -> int
= "getInt16"
"BS:1.7.0 # * )B@BA@@(getInt16@@"
external getUint16 : Js_typed_array.DataView.t -> int -> int = ""
"BS:1.7.0 B@B@@)getUint16@@"
external getUint16LittleEndian : Js_typed_array.DataView.t -> int -> int
= "getUint16"
"BS:1.7.0 $ * )B@BA@@)getUint16@@"
external getInt32 : Js_typed_array.DataView.t -> int -> int = ""
"BS:1.7.0 B@B@@(getInt32@@"
external getInt32LittleEndian : Js_typed_array.DataView.t -> int -> int
= "getInt32"
"BS:1.7.0 # * )B@BA@@(getInt32@@"
external getUint32 : Js_typed_array.DataView.t -> int -> int = ""
"BS:1.7.0 B@B@@)getUint32@@"
external getUint32LittleEndian : Js_typed_array.DataView.t -> int -> int
= "getUint32"
"BS:1.7.0 $ * )B@BA@@)getUint32@@"
external getFloat32 : Js_typed_array.DataView.t -> int -> float = ""
"BS:1.7.0 B@B@@*getFloat32@@"
external getFloat32LittleEndian : Js_typed_array.DataView.t -> int -> float
= "getFloat32"
"BS:1.7.0 % * )B@BA@@*getFloat32@@"
external getFloat64 : Js_typed_array.DataView.t -> int -> float = ""
"BS:1.7.0 B@B@@*getFloat64@@"
external getFloat64LittleEndian : Js_typed_array.DataView.t -> int -> float
= "getFloat64"
"BS:1.7.0 % * )B@BA@@*getFloat64@@"
external setInt8 : Js_typed_array.DataView.t -> int -> int -> unit = ""
"BS:1.7.0 ! B@BB@F'setInt8@@"
external setUint8 : Js_typed_array.DataView.t -> int -> int -> unit = ""
"BS:1.7.0 " !B@BB@F(setUint8@@"
external setInt16 : Js_typed_array.DataView.t -> int -> int -> unit = ""
"BS:1.7.0 " !B@BB@F(setInt16@@"
external setInt16LittleEndian :
Js_typed_array.DataView.t -> int -> int -> unit = "setInt16"
"BS:1.7.0 ( 0 /B@BBA@F(setInt16@@"
external setUint16 : Js_typed_array.DataView.t -> int -> int -> unit = ""
"BS:1.7.0 " !B@BB@F)setUint16@@"
external setUint16LittleEndian :
Js_typed_array.DataView.t -> int -> int -> unit = "setUint16"
"BS:1.7.0 ) 0 /B@BBA@F)setUint16@@"
external setInt32 : Js_typed_array.DataView.t -> int -> int -> unit = ""
"BS:1.7.0 " !B@BB@F(setInt32@@"
external setInt32LittleEndian :
Js_typed_array.DataView.t -> int -> int -> unit = "setInt32"
"BS:1.7.0 ( 0 /B@BBA@F(setInt32@@"
external setUint32 : Js_typed_array.DataView.t -> int -> int -> unit = ""
"BS:1.7.0 " !B@BB@F)setUint32@@"
external setUint32LittleEndian :
Js_typed_array.DataView.t -> int -> int -> unit = "setUint32"
"BS:1.7.0 ) 0 /B@BBA@F)setUint32@@"
external setFloat32 : Js_typed_array.DataView.t -> int -> float -> unit
= "" "BS:1.7.0 ! " !B@BB@F*setFloat32@@"
external setFloat32LittleEndian :
Js_typed_array.DataView.t -> int -> float -> unit = "setFloat32"
"BS:1.7.0 * 0 /B@BBA@F*setFloat32@@"
external setFloat64 : Js_typed_array.DataView.t -> int -> float -> unit
= "" "BS:1.7.0 ! " !B@BB@F*setFloat64@@"
external setFloat64LittleEndian :
Js_typed_array.DataView.t -> int -> float -> unit = "setFloat64"
"BS:1.7.0 * 0 /B@BBA@F*setFloat64@@"
end