CloneByteData extension

Adds clone method that create a deep copy of a ByteData.

on

Methods

clone() ByteData

Available on ByteData, provided by the CloneByteData extension

Creates a deep copy of the ByteData, mutations to the original will not affect the copy.