class Base64 implements ICodec {

    @Override
    public byte[] encode(@Nonnull final byte[] message) throws EncodingException {
        try {
            return base64Encoder.encode(message);
        } catch (Exception e) {
            throw new EncodingException("Base64 encoding has been failed because: " + e.getMessage(), e);
        }
    }

    private  Base64();

}