Jan 5, 2006, at 2:59 PM, mac wrote: > Hello all and happy new year. > I just started learning Ruby. I have good experience in Java and > Perl and > have read most of the doc on Ruby that I can get my hands on. I > started on a > project to build the DICOM netwrok library as a way to learn Ruby. > I have > done quite bit of coding on this project and have a working code. > Well when > I say quite a bit, it is about 5% done!! What I am looking for is > RubyIdioms > and if there are better ways of doing things as opposed to what I have > already done. Basically DICOM messages are binary and we need to > read the > data and manipulate byes. We will have to construct integers or > floats from > bytes or pair of bytes and the next few bytes could be a string > etc. I have > pasted some part of the code and want your opinion on this. Also, > once this > project has reached a point where it could be used, I will release > it to the > community. You will probably have a lot more luck with answers if you post this message to the Ruby Talk mailing list. This list is mainly just used to discuss the internals of the Ruby interpreter. Hope that helps. James Edward Gray II