Table of Contents

Method GetBytesLength

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

GetBytesLength(Encoding?)

Returns the bytes length of the header

public long GetBytesLength(Encoding? encoding = null)

Parameters

encoding Encoding

Encoding used. Default to utf8 if not provided

Returns

long

Bytes length of the header