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) |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Char on Adept is
ubyteand thus C strings are*ubyte. Can I simply cast fromubytetobyteand*ubyteto*byteto pass to the functions that expect char to be signed?All reactions