Table of Contents

WriteUnsafe Method

WriteUnsafe(int, Span<char>)

public static int WriteUnsafe(int value, Span<char> enoughCapacity)

Write integer as a text pretty fast.

Parameters

value int
enoughCapacity Span<char>

Returns

int

-1 if span doesn't have enough capacity

WriteUnsafe(uint, Span<char>)

public static int WriteUnsafe(uint value, Span<char> enoughCapacity)

Write integer as a text pretty fast.

Parameters

value uint
enoughCapacity Span<char>

Returns

int

-1 if span doesn't have enough capacity

WriteUnsafe(long, Span<char>)

public static int WriteUnsafe(long value, Span<char> enoughCapacity)

Write integer as a text pretty fast.

Parameters

value long
enoughCapacity Span<char>

Returns

int

-1 if span doesn't have enough capacity

WriteUnsafe(ulong, Span<char>)

public static int WriteUnsafe(ulong value, Span<char> enoughCapacity)

Write integer as a text pretty fast.

Parameters

value ulong
enoughCapacity Span<char>

Returns

int

-1 if span doesn't have enough capacity