Sha256: 8a21d38cc063e6a4593f6427e235cc3f2a68340e1a33cda2516894c924a4100c

Contents?: true

Size: 353 Bytes

Versions: 7

Compression:

Stored size: 353 Bytes

Contents

module DBF
  module Memo
    class Dbase3 < Base
      def build_memo(start_block) #nodoc
        @data.seek offset(start_block)
        memo_string = ""
        begin
          block = @data.read(BLOCK_SIZE).gsub(/(\000|\032)/, '')
          memo_string << block
        end until block.size < BLOCK_SIZE
        memo_string
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dbf-2.0.10 lib/dbf/memo/dbase3.rb
dbf-2.0.9 lib/dbf/memo/dbase3.rb
dbf-2.0.8 lib/dbf/memo/dbase3.rb
dbf-2.0.7 lib/dbf/memo/dbase3.rb
dbf-2.0.6 lib/dbf/memo/dbase3.rb
dbf-2.0.5 lib/dbf/memo/dbase3.rb
dbf-2.0.4 lib/dbf/memo/dbase3.rb