How to serialize data using thrift?

I already have the .thrift files I just need to know how! I tried following the protobuf method and changing things up, but got confused.

Content-Type: application/x-thrift

€    authenticateLongSessionV2        
[email protected]    HahahLol12345.    en-android-xauth-new    d3644c3cc6bbb3ca    b30883b6fb1321a0 a   Android-samsung-SM-G988N      
80 01 00 01 00 00 00 19 61 75 74 68 65 6e 74 69 63 61 74 65 4c 6f 6e 67 53 65 73 73 69 6f 6e 56 32 00 00 00 01 0c 00 01 0b 00 01 00 00 00 0d 74 65 73 74 40 6d 61 69 6c 2e 63 6f 6d 0b 00 02 00 00 00 0e 48 61 68 61 68 4c 6f 6c 31 32 33 34 35 2e 0b 00 04 00 00 00 14 65 6e 2d 61 6e 64 72 6f 69 64 2d 78 61 75 74 68 2d 6e 65 77 0b 00 05 00 00 00 10 64 33 36 34 34 63 33 63 63 36 62 62 62 33 63 61 0b 00 06 00 00 00 10 62 33 30 38 38 33 62 36 66 62 31 33 32 31 61 30 0b 00 07 00 00 00 18 41 6e 64 72 6f 69 64 2d 73 61 6d 73 75 6e 67 2d 53 4d 2d 47 39 38 38 4e 02 00 08 01 02 00 09 01 00 00

Thrift is not supported at the moment, please open an issue on github and I will see if I can make a guide or implement a block to send these kinds of messages. Thanks