tcl8.0 has a 'binary' command that is like the Perl pack/unpack commands.
It should have the capability you are looking for.
P.S., for Tcl generic questions you might try the comp.lang.tcl newsgroup
instead.
-- ____________________________________________________________________________ Doug Hughes Engineering Network Services System/Net Admin Auburn University doug@eng.auburn.edu
-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.