Table of Contents

Class Base64

Namespace
Org.BouncyCastle.Utilities.Encoders
Assembly
BouncyCastle.Cryptography.dll
public sealed class Base64
Inheritance
Base64
Inherited Members

Methods

Decode(byte[])

public static byte[] Decode(byte[] data)

Parameters

data byte[]

Returns

byte[]

Decode(string)

public static byte[] Decode(string data)

Parameters

data string

Returns

byte[]

Decode(string, Stream)

public static int Decode(string data, Stream outStream)

Parameters

data string
outStream Stream

Returns

int

Encode(byte[])

public static byte[] Encode(byte[] data)

Parameters

data byte[]

Returns

byte[]

Encode(byte[], Stream)

public static int Encode(byte[] data, Stream outStream)

Parameters

data byte[]
outStream Stream

Returns

int

Encode(byte[], int, int)

public static byte[] Encode(byte[] data, int off, int length)

Parameters

data byte[]
off int
length int

Returns

byte[]

Encode(byte[], int, int, Stream)

public static int Encode(byte[] data, int off, int length, Stream outStream)

Parameters

data byte[]
off int
length int
outStream Stream

Returns

int

ToBase64String(byte[])

public static string ToBase64String(byte[] data)

Parameters

data byte[]

Returns

string

ToBase64String(byte[], int, int)

public static string ToBase64String(byte[] data, int off, int length)

Parameters

data byte[]
off int
length int

Returns

string