# File lib/rbase/memo_file.rb, line 27
      def read(index)
        @file.pos = index*BLOCK_SIZE + HEADER_SIZE

        result = ''
        loop do
          data = @file.read(BLOCK_SIZE)
          terminator_pos = data.index(BLOCK_TERMINATOR)
          if terminator_pos
            break result + data[0, terminator_pos]
          end
          result += data
        end
      end