-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathZBase32Encoding.cs
More file actions
30 lines (27 loc) · 1.1 KB
/
ZBase32Encoding.cs
File metadata and controls
30 lines (27 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using System;
using System.Diagnostics;
namespace RapidField.SolidInstruments.TextEncoding
{
/// <summary>
/// Represents z-base-32 character encoding.
/// </summary>
public class ZBase32Encoding : Base32Encoding
{
/// <summary>
/// Initializes a new instance of the <see cref="ZBase32Encoding" /> class.
/// </summary>
public ZBase32Encoding()
: base(PermutedAlphabet)
{
return;
}
/// <summary>
/// Represents the default z-base-32 encoding alphabet.
/// </summary>
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
private const String PermutedAlphabet = "ybndrfg8ejkmcpqxot1uwisza345h769";
}
}