Method: RTree#bsrt_write

Defined in:
lib/rtree.rb

#bsrt_write(io_arg) ⇒ self

Serialise to BSRT (binary serialised R-tree)

Examples:

Write to file

rtree.bsrt_write('rtree.bsrt')

Parameters:

  • io_arg (String|IO)

    a path or writable stream

Returns:

  • (self)

See Also:



396
397
398
399
# File 'lib/rtree.rb', line 396

def bsrt_write(io_arg)
  RTree::IOUtil.io_with_mode(io_arg, 'wb') { |io| super(io) }
  self
end