Table of Contents

Class Base64Encoder

Namespace
Org.BouncyCastle.Utilities.Encoders
Assembly
BouncyCastle.Cryptography.dll
public class Base64Encoder : IEncoder
Inheritance
Base64Encoder
Implements
Derived
Inherited Members

Constructors

Base64Encoder()

public Base64Encoder()

Fields

decodingTable

protected readonly byte[] decodingTable

Field Value

byte[]

encodingTable

protected readonly byte[] encodingTable

Field Value

byte[]

padding

protected byte padding

Field Value

byte

Methods

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

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

Parameters

data byte[]
off int
length int
outStream Stream

Returns

int

Decode(ReadOnlySpan<byte>, Stream)

public int Decode(ReadOnlySpan<byte> data, Stream outStream)

Parameters

data ReadOnlySpan<byte>
outStream Stream

Returns

int

DecodeString(string, Stream)

public int DecodeString(string data, Stream outStream)

Parameters

data string
outStream Stream

Returns

int

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

public int Encode(byte[] inBuf, int inOff, int inLen, byte[] outBuf, int outOff)

Parameters

inBuf byte[]
inOff int
inLen int
outBuf byte[]
outOff int

Returns

int

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

public int Encode(byte[] buf, int off, int len, Stream outStream)

Parameters

buf byte[]
off int
len int
outStream Stream

Returns

int

Encode(ReadOnlySpan<byte>, Stream)

public int Encode(ReadOnlySpan<byte> data, Stream outStream)

Parameters

data ReadOnlySpan<byte>
outStream Stream

Returns

int

Encode(ReadOnlySpan<byte>, Span<byte>)

public int Encode(ReadOnlySpan<byte> input, Span<byte> output)

Parameters

input ReadOnlySpan<byte>
output Span<byte>

Returns

int

InitialiseDecodingTable()

protected void InitialiseDecodingTable()