Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/grpc_basic/proto.ts>Type#decode

Very basic gRPC implementation for Deno
Latest
method Type.prototype.decode
Re-export
import { Type } from "https://deno.land/x/grpc_basic@0.4.7/proto.ts";

Decodes a message of this type.

Parameters

reader: (Reader | Uint8Array)

Reader or buffer to decode from

optional
length: number

Length of the message, if known beforehand

Returns

Message<{ }>

Decoded message