payload

package
v1.6.7 Latest Latest
Warning

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

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

Documentation

Overview

Package payload is used to concatenate an integer header and a set of bytes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPayload

type IPayload interface {
	GetHead() uint64
	GetBody() []byte
	ToBytes() []byte
}

func LoadPayload

func LoadPayload(pPayloadBytes []byte) IPayload

func NewPayload

func NewPayload(pHead uint64, pData []byte) IPayload

Jump to

Keyboard shortcuts

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