Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

RFC: MAM Trits module - #24

Open
semenov-vladyslav wants to merge 1 commit into
iotaledger-archive:masterfrom
semenov-vladyslav:rfc-mam-trits
Open

RFC: MAM Trits module#24
semenov-vladyslav wants to merge 1 commit into
iotaledger-archive:masterfrom
semenov-vladyslav:rfc-mam-trits

Conversation

@semenov-vladyslav

Copy link
Copy Markdown

No description provided.

/// All-zero trits word.
fn zero() -> Self;
/// Copy `n` trits from `(dx,x)` slice into `(dy,y)`.
fn unsafe_copy(n: usize, dx: usize, x: *const Self, dy: usize, y: *mut Self);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If these methods are same as what unsafe in Rust, we can make these unsafe fn. Probably will need to state why they are unsafe in documentation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants