Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GobSerialiser ¶
type GobSerialiser[T any] struct{}
func NewGobSerialiser ¶
func NewGobSerialiser[T any]() *GobSerialiser[T]
func (*GobSerialiser[T]) Deserialise ¶
func (s *GobSerialiser[T]) Deserialise(data []byte) (T, error)
func (*GobSerialiser[T]) Serialise ¶
func (s *GobSerialiser[T]) Serialise(t T) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.