[DiscordArchive] Is use an abstract way of handling how to actually read information from it?
[DiscordArchive] Is use an abstract way of handling how to actually read information from it?
Archived author: Kavligula • Posted: 2018-06-03T20:52:58.811000+00:00
Original source
Is use an abstract way of handling how to actually read information from it?
Archived author: Skarn • Posted: 2018-06-03T20:53:07.241000+00:00
Original source
yeah
Archived author: Skarn • Posted: 2018-06-03T20:53:16.197000+00:00
Original source
let's say I have an integer
Archived author: Skarn • Posted: 2018-06-03T20:53:24.720000+00:00
Original source
read first 8 bits from it
Archived author: Skarn • Posted: 2018-06-03T20:53:36.513000+00:00
Original source
read next 7 bits from it
Archived author: Skarn • Posted: 2018-06-03T20:53:40.384000+00:00
Original source
read one last bit
Archived author: Skarn • Posted: 2018-06-03T20:53:44.899000+00:00
Original source
that's all I need to do
Archived author: Kavligula • Posted: 2018-06-03T20:53:58.819000+00:00
Original source
Can't you just do a sizeof operation
Archived author: Kavligula • Posted: 2018-06-03T20:54:07.075000+00:00
Original source
And shift the bits based off the size of the previous field
Archived author: Kavligula • Posted: 2018-06-03T20:54:13.077000+00:00
Original source
Using a bit mask of course