A link to the stuff that I did on byte arrays. It's pretty old and I've not looked at it since I posted it but it may provide what you need: http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Board=8&Number=128970