Closed dzmitry-lahoda closed 5 months ago
Indded, sorry. Was too Rust centric.
@dj8yfo btw schema for chars, not serde for chars.
https://github.com/near/borsh-rs/issues/247#issuecomment-1772609940
i more of need metadata for chars, okey to have variable lengths.
i build something like reflection/diff of data storage of borsh.
Indded, sorry. Was too Rust centric.
well, rust stdlib has an explanation that char is Unicode Scalar Value, serializing it as 21 bits or 4 bytes would be an implementation detail; 4 bytes would be a lot simpler
@dzmitry-lahoda this has been proposed earlier https://github.com/near/borsh-rs/pull/248/files . Does it look like what is required of this issue resolution?