Returns a copy of n with the bits field to field + width - 1 replaced by the value v.
n
field
field + width - 1
v
See bit32.extract for details about field and width.
bit32.extract
width
Optional
Returns a copy of
n
with the bitsfield
tofield + width - 1
replaced by the valuev
.See
bit32.extract
for details aboutfield
andwidth
.