• Version 4.4.3
Show / Hide Table of Contents

Class Helper

A collection of helper methods to manipulate decoded strings and arrays.

Inheritance
object
Helper
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OnixS.SimpleBinaryEncoding
Assembly: OnixS.SimpleBinaryEncoding.dll
Syntax
public static class Helper

Methods

CopyString(string, Span<byte>)

Copies the string value to the memory region.

Declaration
public static void CopyString(string source, Span<byte> destination)
Parameters
Type Name Description
string source

The source string.

Span<byte> destination

The destination memory region.

GetRealLength(ReadOnlySpan<byte>)

Returns the null-terminated string length.

Declaration
public static int GetRealLength(ReadOnlySpan<byte> buffer)
Parameters
Type Name Description
ReadOnlySpan<byte> buffer

The memory region.

Returns
Type Description
int

The null-terminated string length.

In this article
Back to top Copyright © Onix Solutions.
Generated by DocFX