Space Engineers
Public Member Functions | Properties | List of all members
VRage.Utils.My5BitEncoding Class Reference

Public Member Functions

 My5BitEncoding ()
 Initializes a new instance of the Encoding5Bit class. Uses characters 0-9 and A-Z except (0,O,1,I). More...
 
 My5BitEncoding (char[] characters)
 Initializes a new instance of the Encoding5Bit class. More...
 
char[] Encode (byte[] data)
 Encodes data as 5bit string. More...
 
byte[] Decode (char[] encoded5BitText)
 Decodes 5bit string as bytes, not alligned characters may be lost. Only decode strings encoded with Encode. More...
 

Properties

static My5BitEncoding Default [get]
 

Detailed Description

Definition at line 8 of file My5BitEncoding.cs.

Constructor & Destructor Documentation

VRage.Utils.My5BitEncoding.My5BitEncoding ( )
inline

Initializes a new instance of the Encoding5Bit class. Uses characters 0-9 and A-Z except (0,O,1,I).

Definition at line 28 of file My5BitEncoding.cs.

VRage.Utils.My5BitEncoding.My5BitEncoding ( char[]  characters)
inline

Initializes a new instance of the Encoding5Bit class.

Parameters
characters32 characters which will be used when encoding bytes to string.

Definition at line 37 of file My5BitEncoding.cs.

Member Function Documentation

byte [] VRage.Utils.My5BitEncoding.Decode ( char[]  encoded5BitText)
inline

Decodes 5bit string as bytes, not alligned characters may be lost. Only decode strings encoded with Encode.

Parameters
encoded5BitText
Returns

Definition at line 93 of file My5BitEncoding.cs.

char [] VRage.Utils.My5BitEncoding.Encode ( byte[]  data)
inline

Encodes data as 5bit string.

Definition at line 61 of file My5BitEncoding.cs.

Property Documentation

My5BitEncoding VRage.Utils.My5BitEncoding.Default
staticget

Definition at line 12 of file My5BitEncoding.cs.


The documentation for this class was generated from the following file: