Kinjal Posted July 14, 2011 Report Share Posted July 14, 2011 I am implementing do_pack() and do_unpack(). How can I know that do_pack() and do_unpack() has successfully happened? for example, abc = packer.unpack_field_int($bits(abc)); def = packer.unpack_field_int($bits(def)); where is success/fail bit which I can use for further parsing. One problem on above one is, if total bits are not enough for abc then I am getting total 2 errors. If I know that abc is fail because of not enough bits, I could not do def. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.