Documentation

Overview

    Package pickletools provides utilities related to python pickles.

    It complements package ogórek (github.com/kisielk/og-rek).

    XXX dup in wcfs/internal/pycompat .

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func Xint64

    func Xint64(xv interface{}) (v int64, ok bool)

      Xint64 tries to convert unpickled value to int64.

      (ogórek decodes python long as big.Int)

      func Xstrbytes

      func Xstrbytes(x interface{}) (string, error)

        Xstrbytes verifies and extacts str|bytes from unpickled value.

        func Xstrbytes8

        func Xstrbytes8(x interface{}) (uint64, error)

          Xstrbytes8 verifies and extracts [8](str|bytes) from unpickled value as big-endian u64.

          Types

          This section is empty.

          Source Files