Documentation ¶
Overview ¶
Package ogórek is a library for decoding Python's pickle format.
ogórek is Polish for "pickle".
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidPickleVersion = errors.New("invalid pickle version")
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder is a decoder for pickle streams.
func NewDecoder ¶
NewDecoder constructs a new Decoder which will decode the pickle stream in r.
type Encoder ¶
type Encoder struct {
// contains filtered or unexported fields
}
An Encoder encodes Go data structures into pickle byte stream
func NewEncoder ¶
NewEncoder returns a new Encoder struct with default values
type Marshaler ¶
Marshaler is the interface implemented by an object that can marshal itself into a binary form.
type OpcodeError ¶
func (OpcodeError) Error ¶
func (e OpcodeError) Error() string
Click to show internal directories.
Click to hide internal directories.