Type Definition sodoken::buffer::BufWriteNoLock[][src]

type BufWriteNoLock = Arc<RwLock<Box<[u8]>>>;
Expand description

This concrete writable buffer type is NOT mem_locked.

Trait Implementations

The length of this buffer.

Obtain read access to the underlying buffer.

Is this buffer empty?

Obtain write access to the underlying buffer.

Downgrade this to a read-only reference without cloning internal data and without changing memory locking strategy. Read more