Encode() public static méthode

public static Encode ( byte data ) : byte[]
data byte
Résultat byte[]
Exemple #1
0
 public static int Encode(byte[] data, int off, int length, Stream outStream)
 {
     byte[] array = Base64.Encode(data, off, length);
     outStream.Write(array, 0, array.Length);
     return(array.Length);
 }
Exemple #2
0
 public static byte[] Encode(byte[] data)
 {
     return(Base64.Encode(data, 0, data.Length));
 }