<PackageReference Include="BouncyCastle.Cryptography" Version="2.2.0" />

SimpleBlockResult

public sealed class SimpleBlockResult : IBlockResult
A simple block result object which just carries a byte array.
public SimpleBlockResult(byte[] result)

Base constructor - a wrapper for the passed in byte array.

public byte[] Collect()

Return the final result of the operation.

public int Collect(byte[] buf, int off)

Store the final result of the operation by copying it into the destination array.

public int GetMaxResultLength()