Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Deserialize ¶
func Deserialize(b []byte, deserializer Deserializer) error
Deserialize reads an entity from its bytes representation.
func DeserializeSlice ¶
Deserialize reads an entity slice of Deserilizer elements from its bytes representation.
func Serialize ¶
func Serialize(serializer Serializer) ([]byte, error)
Serialize converts a serializable entity into its bytes representation.
func SerializeSlice ¶
Serialize converts an slice of Serializer elements into its bytes representation.
Types ¶
type Deserializer ¶
Deserializer represents a Gob deserializable entity.
type Serializer ¶
Serializer represents a Gob serializable entity.
Click to show internal directories.
Click to hide internal directories.