Edit

Share via


SegmentBuilder.CalculateAppendSize Method

Definition

Overloads

CalculateAppendSize(Byte[])

Calculates how much space will be needed to append the provided bytes into the segment.

CalculateAppendSize(String)

Calculates how much space will be needed to append the provided string into the segment.

CalculateAppendSize(Byte[])

Calculates how much space will be needed to append the provided bytes into the segment.

public static int CalculateAppendSize (byte[] bytes);
static member CalculateAppendSize : byte[] -> int
Public Shared Function CalculateAppendSize (bytes As Byte()) As Integer

Parameters

bytes
Byte[]

Returns

Applies to

CalculateAppendSize(String)

Calculates how much space will be needed to append the provided string into the segment.

public static int CalculateAppendSize (string str);
static member CalculateAppendSize : string -> int
Public Shared Function CalculateAppendSize (str As String) As Integer

Parameters

str
String

Returns

Applies to