tuweni / org.apache.tuweni.crypto.sodium / Allocated / fromBytes

fromBytes

static fun fromBytes(bytes: Bytes): Allocated (source)

Assign bytes using Sodium memory allocation

Parameters

bytes - the bytes to assign

Return
a new allocated value filled with the bytes