Closed irh closed 11 months ago
This PR updates the impl of From for SRData so that it takes &[u8] rather than &Vec<u8>.
From
SRData
&[u8]
&Vec<u8>
The implementation is the same, but allows for byte slices owned by containers other than Vec.
Vec
This PR updates the impl of
From
forSRData
so that it takes&[u8]
rather than&Vec<u8>
.The implementation is the same, but allows for byte slices owned by containers other than
Vec
.