AMF reader/writer library