Skip to content

Instantly share code, notes, and snippets.

View MFDGaming's full-sized avatar
🏠
Working from home

Alexander Argentakis MFDGaming

🏠
Working from home
View GitHub Profile
U abort
U accept
U access
U AConfiguration_delete
U AConfiguration_fromAssetManager
U AConfiguration_getCountry
U AConfiguration_getLanguage
U AConfiguration_new
001a3bec T __adddf3
001a45e0 T __addsf3
@MightyPork
MightyPork / utf8_encode.c
Last active July 14, 2024 01:52
C function to encode a Unicode code point as UTF-8 byte array
#include <stdint.h>
/**
* Encode a code point using UTF-8
*
* @author Ondřej Hruška <ondra@ondrovo.com>
* @license MIT
*
* @param out - output buffer (min 5 characters), will be 0-terminated
* @param utf - code point 0-0x10FFFF
@shoghicp
shoghicp / 0.6.1.txt
Created May 17, 2013 19:55
Minecraft: Pocket Edition 0.6.1 protocol
# Minecraft PE v0.6.1 alpha Protocol #9
# 49 identified Packets
[C ==> S] 0x82 LoginPacket (String, int, int)
[C <== S] 0x83 LoginStatusPacket (int)
[C ==> S] 0x84 ReadyPacket (bits[8])
[C <== S] 0x85 MessagePacket (String)
[C <== S] 0x86 SetTimePacket (long)
[C <== S] 0x87 StartGamePacket (long, int, int, int, float, float, float)
[C <== S] 0x88 AddMobPacket (int, int, float, float, float, byte, byte, Metadata)