Table of Contents

Class Ascii85

Namespace
Vintagestory.API.MathTools
Assembly
VintagestoryAPI.dll

Converts between binary data and an Ascii85-encoded string.

public static class Ascii85
Inheritance
Ascii85
Inherited Members

Remarks

Methods

Decode(string)

Decodes the specified Ascii85 string into the corresponding byte array.

public static byte[] Decode(string encoded)

Parameters

encoded string

The Ascii85 string.

Returns

byte[]

The decoded byte array.

Encode(byte[])

Encodes the specified byte array in Ascii85.

public static string Encode(byte[] bytes)

Parameters

bytes byte[]

The bytes to encode.

Returns

string

An Ascii85-encoded string representing the input byte array.