UNPKG

ts-proto

Version:

[![npm](https://img.shields.io/npm/v/ts-proto)](https://www.npmjs.com/package/ts-proto) [![build](https://github.com/stephenh/ts-proto/workflows/Build/badge.svg)](https://github.com/stephenh/ts-proto/actions)

7 lines (6 loc) 398 B
import { Code } from "ts-poet"; import { Utils } from "./main"; /** Creates a function to transform a message Source to a Uint8Array Source. */ export declare function generateEncodeTransform(utils: Utils, fullName: string): Code; /** Creates a function to transform a Uint8Array Source to a message Source. */ export declare function generateDecodeTransform(utils: Utils, fullName: string): Code;