Skip to main content

Module marshal

Module marshal 

Source
Available on neither GraalPy nor Py_LIMITED_API.
Expand description

Support for the Python marshal format.

Re-exportsยง

use crate::ffi_ptr_ext::FfiPtrExt; ๐Ÿ”’
use crate::py_result_ext::PyResultExt; ๐Ÿ”’
use crate::types::PyAny; ๐Ÿ”’
use crate::types::PyBytes; ๐Ÿ”’
use crate::Bound; ๐Ÿ”’
use crate::ffi; ๐Ÿ”’
use crate::PyResult; ๐Ÿ”’
use crate::Python; ๐Ÿ”’
use core::ffi::c_int; ๐Ÿ”’

Constantsยง

VERSION
The current version of the marshal binary format.

Functionsยง

dumps
Serialize an object to bytes using the Python built-in marshal module.
loads
Deserialize an object from bytes using the Python built-in marshal module.
โš ๏ธ Internal Docs โš ๏ธ Not Public API ๐Ÿ‘‰ Official Docs Here