Documentation

Init.Data.ByteArray.Bootstrap

@[simp]
theorem ByteArray.data_push {a : ByteArray} {b : UInt8} :
(a.push b).data = a.data.push b

Appends two byte arrays.

In compiled code, calls to ByteArray.append are replaced with the much more efficient ByteArray.fastAppend.

Equations
Instances For
    theorem ByteArray.ext {x y : ByteArray} :
    x.data = y.datax = y