Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadMarker ¶
ReadMarker reads the raw memory representation of a fixed marker from the reader. This is used to ensure that the dump was written on the same architecture.
func ReadSlice ¶
ReadSlice reads a slice of arbitrary objects from the reader, written by WriteSlice.
func WriteMarker ¶
WriteMarker writes the raw memory representation of a fixed marker to the writer. This is used to ensure that the dump was written on the same architecture.
func WriteSlice ¶
WriteSlice writes a slice of arbitrary objects to the writer. Use with caution, as it writes the raw memory representation of the slice; In particular you do not want to use this with slices that contain pointers. This architecture dependent and will not work across different architectures (e.g. 32 vs 64 bit, big endian vs little endian).
Types ¶
This section is empty.