Path: | lib/blocker.rb |
Last Update: | Tue Aug 08 11:57:12 Eastern Standard Time 2006 |
The purpose of BinaryBlocker is to parse semi-complicated binary files. It can handle all the various data types supported by Array#pack and String#unpack, but the real benefit is with more complicated layouts, that might include files with headers and a variable number of body records followed by a footer. It also supports, packed numeric (BinaryBlocker::PackedNumberEncoder) and date fields (BinaryBlocker::PackedDateEncoder)