Class CommandLineTextEncoder

Handles command line text encoding for files that can be opened via the command line.

Format:

untitled.base64,base64text untitled.urlencoded,urlencodedText untitled.text,text

System.Object
  MarkdownMonster.Utilities.CommandLineTextEncoder
public class CommandLineTextEncoder : object

Class Members

MemberDescription

Constructor

CreateEncodedCommandLineFilename

public static string CreateEncodedCommandLineFilename(string text,     int line,     CommandLineTextEncodingFormats format)

FromBase64

Decodes a base64 string back to a plain string

public static string FromBase64(string base64Text,     Encoding encoding)

ParseUntitledString

Parses out the decoded text from the URL formatted text

public static string ParseUntitledString(string untitledText)

ToBase64

Encodes a string into a Base64 string.

public static string ToBase64(string text,     Encoding encoding)

Requirements

Namespace: MarkdownMonster.Utilities
Assembly: markdownmonster.exe

© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic