Movatterモバイル変換


[0]ホーム

URL:


drpcenc

package
v0.0.34Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License:MITImports:1Imported by:0

Details

Repository

github.com/storj/drpc

Links

README

package drpcenc

import "storj.io/drpc/drpcenc"

Package drpcenc holds some helper functions for encoding messages.

Usage

func MarshalAppend
func MarshalAppend(msg drpc.Message, enc drpc.Encoding, buf []byte) (data []byte, err error)

MarshalAppend calls enc.Marshal(msg) and returns the data appended to buf. Ifenc implements MarshalAppend, that is called instead.

Documentation

Overview

Package drpcenc holds some helper functions for encoding messages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcMarshalAppend

func MarshalAppend(msgdrpc.Message, encdrpc.Encoding, buf []byte) (data []byte, errerror)

MarshalAppend calls enc.Marshal(msg) and returns the data appended to buf. Ifenc implements MarshalAppend, that is called instead.

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp