Message from @bentech

Discord ID: 473821119627919360


2018-07-31 10:56:04 UTC  

i dont wear printed t shirts

2018-07-31 10:56:24 UTC  

I don't wear underwear

2018-07-31 10:56:40 UTC  

'muricans using that other shitty brand calculator when casio is better in every way

2018-07-31 10:56:48 UTC  

then your pants smell like shit all the time

2018-07-31 10:56:49 UTC  

good luck

2018-07-31 10:57:05 UTC  

Want a whiff?

2018-07-31 10:57:25 UTC  

Kidding, I wear fundoshi only

2018-07-31 10:57:38 UTC  

Comfy for summer

2018-07-31 10:59:51 UTC  

hope my uniqlo store has naruto shirt instock

2018-07-31 10:59:59 UTC  

☺

I would like to talk more about effay things but I'm overdue whoring myself out to elderly rich woman so I can afford my lifestyle (^:

2018-07-31 11:21:43 UTC  

https://cdn.discordapp.com/attachments/189467888657235970/473812501272854548/IMG_20180731_095854.jpg

https://cdn.discordapp.com/attachments/189467888657235970/473812502103195659/IMG_20180731_095900.jpg

2018-07-31 11:24:38 UTC  

Nice Miata, mr hairdresser

Mr hairdresser?

2018-07-31 11:31:24 UTC  

I didn't want to call him a fag outright

Anyone who knows C can help me right now with fwrite?

2018-07-31 11:39:28 UTC  

let's encrypt ded

2018-07-31 11:46:40 UTC  
2018-07-31 11:52:39 UTC  

hello dear am C programmer too

2018-07-31 11:55:58 UTC  

why use dead language

@spaqin So when using the write function it returned the mmapedData backwards after the reverseArray function

So that is fine

But then putting that into the file gives a corrupted file that is the same file size

2018-07-31 11:58:05 UTC  

How corrupted

2018-07-31 11:58:14 UTC  

@bentech because we make embedded devices

the file size is the same

so the data is certainly there

it's literally supposed to be backwards

https://cdn.discordapp.com/attachments/189467888657235970/473821849327763456/unknown.png

2018-07-31 11:58:52 UTC  

Did you check the data in the program?

yes, that's what I see with the write() command in the code

it's prints that all out backwards in the terminal

2018-07-31 11:59:17 UTC  

You could've also somehow messed up the params?

2018-07-31 11:59:19 UTC  

looks like your encoding is wack

But I want that in a plain text

2018-07-31 11:59:28 UTC  

Or it could be UTF8

2018-07-31 11:59:31 UTC  

if it's anything except ASCII you can't just reverse the bytes and have it work

2018-07-31 11:59:33 UTC  

Or whatever utf

```
void reverseArray(char* mmappedData, int start, int end) {
int tmp;
while(start < end) {
tmp = mmappedData[start];
mmappedData[start] = mmappedData[end];
mmappedData[end] = tmp;
start++;
end--;
}
}
```