Reply to rickdiaz, > how do i convert a string of chars to byte array > > will this work: > > ubyte[] b; > char[] s="test"; > b = cast(ubyte[]) s; > thx in advance > yes