replace3
replace3(
data
,byteIndex
,newData
):bytes
Replace bytes in the given data starting at the given index
Parameters
• data: BytesLike
data containing the bytes that should be replaced
• byteIndex: IntLike
index of the first byte to replace
• newData: BytesLike
bytes to replace with
Returns
updated data