MCPcopy Create free account
hub / github.com/apache/arrow-rs / with_require_alignment

Method with_require_alignment

arrow-ipc/src/reader.rs:526–529  ·  view source on GitHub ↗

Set require_alignment (default: false) If true, buffers must be aligned appropriately or error will result. If false, buffers will be copied to aligned buffers if necessary.

(mut self, require_alignment: bool)

Source from the content-addressed store, hash-verified

524 /// result. If false, buffers will be copied to aligned buffers
525 /// if necessary.
526 pub fn with_require_alignment(mut self, require_alignment: bool) -> Self {
527 self.require_alignment = require_alignment;
528 self
529 }
530
531 /// Specifies if validation should be skipped when reading data (defaults to `false`)
532 ///

Calls

no outgoing calls