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

fromBytes

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

Assign bytes using Sodium memory allocation

Parameters

bytes - Bytes!: the bytes to assign

Return
Allocated!: a new allocated value filled with the bytes