Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/earthstar/deps.ts>RangeMessenger#decode

Earthstar is a tool for private, undiscoverable, offline-first networks.
Go to Latest
method RangeMessenger.prototype.decode
Re-export
import { RangeMessenger } from "https://deno.land/x/earthstar@v10.0.0/deps.ts";

Decodes an incoming message, and remembers its upper bound to use as a lower bound for the next message.

Parameters

message: EncodedMessageType

Returns

DecodeStageResult<ValueType, LiftedType>