/// <summary>Initializes a new <see cref="EightBitDecoder"/> with the given <see cref="BinaryEncoder"/>. If the encoder is null, /// characters will simply be expanded without being encoded first. /// </summary> public EightBitDecoder(BinaryEncoder decoder) { this.decoder = decoder; }
/// <summary>Initializes a new <see cref="EightBitEncoding"/> that truncates characters to 8 bits and encodes and decodes them /// with the given encoder and decoder. /// </summary> public EightBitEncoding(BinaryEncoder encoder, BinaryEncoder decoder) : base(new EightBitEncoder(encoder), new EightBitDecoder(decoder)) { this.encoder = encoder; this.decoder = decoder; }
/// <summary>Initializes a new <see cref="EightBitEncoder"/> with the given <see cref="BinaryEncoder"/>. If the encoder is null, /// characters will simply be truncated without being encoded. /// </summary> public EightBitEncoder(BinaryEncoder encoder) { this.encoder = encoder; }