Skip to content

module pickle

Source: stdlib/pickle.codon


pickle(x: T, jar: Jar, T: type)


unpickle(jar: Jar, T: type)


dump(x: T, f, T: type)


load(f, T: type)


int @extend Class is extended to add given methods

Magic methods

__pickle__(self, jar: Jar)

__unpickle__(jar: Jar)


Int[N] @extend Class is extended to add given methods

Magic methods

__pickle__(self, jar: Jar)

__unpickle__(jar: Jar)


UInt[N] @extend Class is extended to add given methods

Magic methods

__pickle__(self, jar: Jar)

__unpickle__(jar: Jar)


float @extend Class is extended to add given methods

Magic methods

__pickle__(self, jar: Jar)

__unpickle__(jar: Jar)


float32 @extend Class is extended to add given methods

Magic methods

__pickle__(self, jar: Jar)

__unpickle__(jar: Jar)


bool @extend Class is extended to add given methods

Magic methods

__pickle__(self, jar: Jar)

__unpickle__(jar: Jar)


byte @extend Class is extended to add given methods

Magic methods

__pickle__(self, jar: Jar)

__unpickle__(jar: Jar)


str @extend Class is extended to add given methods

Magic methods

__pickle__(self, jar: Jar)

__unpickle__(jar: Jar)


List[T] @extend Class is extended to add given methods

Magic methods

__pickle__(self, jar: Jar)

__unpickle__(jar: Jar)


DynamicTuple[T] @extend Class is extended to add given methods

Magic methods

__pickle__(self, jar: Jar)

__unpickle__(jar: Jar)


Dict[K,V] @extend Class is extended to add given methods

Magic methods

__pickle__(self, jar: Jar)

__unpickle__(jar: Jar)


Set[K] @extend Class is extended to add given methods

Magic methods

__pickle__(self, jar: Jar)

__unpickle__(jar: Jar)