Module glib::byte_array

source ·
Expand description

§Examples

use glib::prelude::*; // or `use gtk::prelude::*;`
use glib::ByteArray;

let ba = ByteArray::from(b"abc");
assert_eq!(ba, "abc".as_bytes());

Macros§

Structs§

  • GLib type: Shared boxed type with reference counted clone semantics.