Replies: 1 comment
-
Yes, the signness only applies when doing math/printing operations from within Adept. You can freely cast to (ubyte and byte have the same representation, it's just that 128..=255 are interpreted as negative for signed bytes) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Char on Adept is
ubyte
and thus C strings are*ubyte
. Can I simply cast fromubyte
tobyte
and*ubyte
to*byte
to pass to the functions that expect char to be signed?Beta Was this translation helpful? Give feedback.
All reactions