Example #1
0
// SetAllowOsBuffer enable/disable os buffer.
//
// Data being read from file storage may be buffered in the OS
// Default: true
func (opts *Options) SetAllowOsBuffer(value bool) {
	C.rocksdb_options_set_allow_os_buffer(opts.c, boolToChar(value))
}
Example #2
0
func (o *Options) SetAllowOSBuffer(b bool) {
	C.rocksdb_options_set_allow_os_buffer(o.Opt, boolToUchar(b))
}