Web SDK - PeerMessage

Home > rainway-sdk > PeerMessage

PeerMessage variable

Signature:

PeerMessage: {
    encode(message: IPeerMessage): Uint8Array;
    encodeInto(message: IPeerMessage, view: BebopView): number;
    decode(buffer: Uint8Array): IPeerMessage;
    readFrom(view: BebopView): IPeerMessage;
}