Open novusnota opened 4 days ago
One can do Struct.toCell().asSlice() already, but for consistency reasons we probably should have .toSlice() too. For example, StringBuilder has it, and it would also mirror the .fromSlice() method nicely.
Struct.toCell().asSlice()
.toSlice()
StringBuilder
.fromSlice()
As mentioned in: https://github.com/tact-lang/tact-docs/pull/271#discussion_r1651512617
One can do
Struct.toCell().asSlice()
already, but for consistency reasons we probably should have.toSlice()
too. For example,StringBuilder
has it, and it would also mirror the.fromSlice()
method nicely.As mentioned in: https://github.com/tact-lang/tact-docs/pull/271#discussion_r1651512617