class Allocated : Destroyable
(source)
Allocated objects track allocation of memory using Sodium.
See Also
<a href="https://libsodium.gitbook.io/doc/memory_management">Secure memory</a>
fun bytes(): Bytes |
|
fun bytesArray(): ByteArray |
|
fun destroy(): Unit
Destroys the value from memory. |
|
fun equals(other: Any?): Boolean |
|
static fun fromBytes(bytes: Bytes): Allocated
Assign bytes using Sodium memory allocation |
|
fun hashCode(): Int |
|
fun isDestroyed(): Boolean |