DPB1Class · Utilities and settings

StringExtension

Provides string extension data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Common

public static class StringExtension
Reference: DPB1 0.3.29.47No matching type in the reviewed DPB2 catalog.

Members and overloads

3 declared here

CompressString

MethodLink ↗
public static string StringExtension.CompressString(string text)

Compresses the string.

Parameters

textstring
The text.

Returns: The string result.

DecompressString

MethodLink ↗
public static string StringExtension.DecompressString(string compressedText)

Decompresses the string.

Parameters

compressedTextstring
The compressed text.

Returns: The string result.

GetStableHashCode

MethodLink ↗
public static int StringExtension.GetStableHashCode(string str)

Returns stable hash code using the supplied arguments.

Parameters

strstring
Specifies str.

Returns: The int result.

DPB1 0.3.29.47 · Reference reviewed 2026-10-03. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.