pack


Description:

public abstract NullableValue pack (T value) throws Error

Box a Vala T for object-property mapping; do not write a document.

Int32Codec.pack (42) returns a NullableValue with is_null false and a GLib.Value of type int containing 42. Nullable codecs set is_null for null while retaining a typed GLib.Value placeholder.