pub fn toMutable(self: Const, limbs: []Limb) Mutable
Asserts limbs is big enough to store the value.
limbs
self: Const
limbs: []Limb
2177 2178 2179 2180 2181 2182 2183 2184
pub fn toMutable(self: Const, limbs: []Limb) Mutable { @memcpy(limbs[0..self.limbs.len], self.limbs[0..self.limbs.len]); return .{ .limbs = limbs, .positive = self.positive, .len = self.limbs.len, }; }
Asserts
limbsis big enough to store the value.