[DiscordArchive] Can you show example code for that?
[DiscordArchive] Can you show example code for that?
Archived author: Kavligula • Posted: 2018-06-03T20:56:57.856000+00:00
Original source
11111111>>7
Archived author: Kavligula • Posted: 2018-06-03T20:57:04.069000+00:00
Original source
And that'd effectively drop the 1 at the front
Archived author: Kavligula • Posted: 2018-06-03T20:57:09.448000+00:00
Original source
And then you'd do that again
Archived author: Kavligula • Posted: 2018-06-03T20:57:12.160000+00:00
Original source
What you'd need to know
Archived author: Kavligula • Posted: 2018-06-03T20:57:23.105000+00:00
Original source
Is the actual size of the data type you're working with
Archived author: Kavligula • Posted: 2018-06-03T20:57:30.907000+00:00
Original source
So what you're doing here is a 16 bit value
Archived author: Kavligula • Posted: 2018-06-03T20:57:34.729000+00:00
Original source
So you'd have a 16 bit mask
Archived author: Kavligula • Posted: 2018-06-03T20:57:45.770000+00:00
Original source
I.e. 1111111100000000
Archived author: Skarn • Posted: 2018-06-03T20:57:47.924000+00:00
Original source
yes, I will know that ofc
Archived author: Kavligula • Posted: 2018-06-03T20:57:55.140000+00:00
Original source
So you'd do