mock

package
v0.0.0-...-d4032f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 2, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package mock provides a mock implementation of the DataBlock interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataBlock

type DataBlock struct {
	Data []byte
}

DataBlock is a mock implementation of the DataBlock interface.

func (*DataBlock) Serialize

func (t *DataBlock) Serialize() ([]byte, error)

Serialize returns the serialized form of the DataBlock.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL