Attached is a simple demonstration of Typechain in use. It consists of a Perl script, "Typechain-demo.pl", which takes an Typechain-string as it's only argument, and processes standard input accordingly, writing the final media type and data to standard output. A number of Perl modules handle the decoding, based on the encoding identifier. (This script has been left un-optimized and simple for clarity and readability, and is intended for illustration only. I recommend a faster and more robust implementation for actual use). More information can be found in the package's README file.
A C++ library has also been created by the author for use with the VOS (Virtual Object System). More information can be found on the VOS web site http://interreality.org.
More about the VOS project can be found at http://interreality.org