MCPcopy Create free account
hub / github.com/asg017/sqlite-loadable-rs / value_bytes

Function value_bytes

src/api.rs:130–132  ·  view source on GitHub ↗

Returns the [`sqlite3_value_bytes`](https://www.sqlite.org/c3ref/value_blob.html) result from the given sqlite3_value, as i32.

(value: &*mut sqlite3_value)

Source from the content-addressed store, hash-verified

128/// Returns the [`sqlite3_value_bytes`](https://www.sqlite.org/c3ref/value_blob.html) result
129/// from the given sqlite3_value, as i32.
130pub fn value_bytes(value: &*mut sqlite3_value) -> i32 {
131 unsafe { sqlite3ext_value_bytes(value.to_owned()) }
132}
133
134/// Returns the [`sqlite3_value_text`](https://www.sqlite.org/c3ref/value_blob.html) result
135/// from the given sqlite3_value, as a str. If the number of bytes of the underlying value

Callers 2

value_blobFunction · 0.85
value_textFunction · 0.85

Calls 1

sqlite3ext_value_bytesFunction · 0.85

Tested by

no test coverage detected