generated from tc39/template-for-proposals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathspec.emu
40 lines (35 loc) · 1.44 KB
/
spec.emu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!doctype html>
<meta charset="utf8">
<link rel="stylesheet" href="./spec.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/github.min.css">
<script src="./spec.js"></script>
<pre class="metadata">
title: DataView get/set Uint8Clamped methods
stage: 1
contributors: Jordan Harband
</pre>
<emu-clause id="sec-structured-data" number="25">
<h1>Structured Data</h1>
<emu-clause id="sec-dataview-objects" number="3">
<h1>DataView Objects</h1>
<emu-clause id="sec-properties-of-the-dataview-prototype-object" number="4">
<h1>Properties of the DataView Prototype Object</h1>
<emu-clause id="sec-dataview.prototype.getuint8c" number="13">
<h1>DataView.prototype.getUint8Clamped ( _byteOffset_ )</h1>
<p>This method performs the following steps when called:</p>
<emu-alg>
1. Let _v_ be the *this* value.
1. Return ? GetViewValue(_v_, _byteOffset_, *true*, ~uint8clamped~).
</emu-alg>
</emu-clause>
<emu-clause id="sec-dataview.prototype.setuint8c" number="23">
<h1>DataView.prototype.setUint8Clamped ( _byteOffset_, _value_ )</h1>
<p>This method performs the following steps when called:</p>
<emu-alg>
1. Let _v_ be the *this* value.
1. Return ? SetViewValue(_v_, _byteOffset_, *true*, ~uint8clamped~, _value_).
</emu-alg>
</emu-clause>
</emu-clause>
</emu-clause>
</emu-clause>