Skip to content

Commit 2ccc21e

Browse files
committed
Set and return the original bytes for ABs in GetModifySetValueInBuffer
1 parent 1b45b5a commit 2ccc21e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spec.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37013,8 +37013,9 @@ <h1>GetModifySetValueInBuffer ( _arrayBuffer_, _byteIndex_, _type_, _value_, _op
3701337013
1. Append _rmwEvent_ to _eventList_.
3701437014
1. Append Chosen Value Record { [[Event]]: _rmwEvent_, [[ChosenValue]]: _rawBytesRead_ } to _execution_.[[ChosenValues]].
3701537015
1. Else,
37016-
1. Let _rawBytesAtIndex_ be a List of _elementSize_ containing, in order, the _elementSize_ sequence of bytes starting with _block_[_byteIndex_].
37017-
1. Let _rawBytesRead_ be _op_(_rawBytesAtIndex_, _rawBytes_).
37016+
1. Let _rawBytesRead_ be a List of _elementSize_ containing, in order, the _elementSize_ sequence of bytes starting with _block_[_byteIndex_].
37017+
1. Let _rawBytesModified_ be _op_(_rawBytesRead_, _rawBytes_).
37018+
1. Store the individual bytes of _rawBytesModified_ into _block_, in order, starting at _block_[_byteIndex_].
3701837019
1. Return RawBytesToNumeric(_type_, _rawBytesRead_, _isLittleEndian_).
3701937020
</emu-alg>
3702037021
</emu-clause>

0 commit comments

Comments
 (0)