Table of Contents

Property Size

Namespace
NATS.Client.JetStream
Assembly
NATS.Client.JetStream.dll

Size

Message size in bytes.

public int Size { get; }

Property Value

int

Remarks

Message size is calculated using the same method NATS server uses:

int size = subject.Length + replyTo.Length + headers.Length + payload.Length;