Skip to content

Instantly share code, notes, and snippets.

View mathuin's full-sized avatar

Jack Twilley mathuin

View GitHub Profile
@bemasher
bemasher / intput.txt
Created July 10, 2012 12:51
Named Binary Tag parser written in Golang using reflection to populate native types.
// This is the structure of the binary nbt file
TAG_Compound('Level') {
TAG_Compound('nested compound test') {
TAG_Compound('egg') {
TAG_String('name'): 'Eggbert'
TAG_Float('value'): 0.5
}
TAG_Compound('ham') {
TAG_String('name'): 'Hampus'
TAG_Float('value'): 0.75