You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bytes values should be held in a configuration cell, and we should provide hooks to access them. The Rust code should see only the IDs of these values. These hooks should be callable as normal Rust functions, but their implementation should work with the bytes cell.
We will add a Bytes trait that has: Empty(), FromId(u32), len(self), substr(self, start, end), appendTo(self, Bytes), equalTo(self, Bytes). Perhaps also toU8(self), toU16(self), ... and fromU8(u8), fromU16(u16), ...
Bytes values should be held in a configuration cell, and we should provide hooks to access them. The Rust code should see only the IDs of these values. These hooks should be callable as normal Rust functions, but their implementation should work with the bytes cell.
We need hooks for:
The Bytes struct will hold the bytes ID (u32).
We will add a Bytes trait that has: Empty(), FromId(u32), len(self), substr(self, start, end), appendTo(self, Bytes), equalTo(self, Bytes). Perhaps also toU8(self), toU16(self), ... and fromU8(u8), fromU16(u16), ...
We will also need the following:
and something similar for
The text was updated successfully, but these errors were encountered: