nbt-0.2: A parser/serializer for Minecraft's Named Binary Tag (NBT) data format.

Portabilityportable
Stabilityexperimental
Maintaineracfoltzer@gmail.com

Data.NBT

Description

Defines a Haskell representation of Minecraft's NBT binary data format, along with instances of Data.Serialize.Serialize. See the NBT specification for details: https://raw.github.com/acfoltzer/nbt/master/NBT-spec.txt.

Synopsis

Documentation

data TagType Source

Tag types listed in order so that deriving Enum will assign them the correct number for the binary type field.

data NBT Source

Primitive representation of NBT data. This type contains both named and unnamed variants; a Nothing name signifies an unnamed tag, so when serialized, neither the name nor the type tag will be put.

Instances