diff --git a/Public/Converts/Convert-BinaryToHex.ps1 b/Public/Converts/Convert-BinaryToHex.ps1 index 674e631..c86a099 100644 --- a/Public/Converts/Convert-BinaryToHex.ps1 +++ b/Public/Converts/Convert-BinaryToHex.ps1 @@ -12,5 +12,5 @@ function Convert-BinaryToHex { $Binary = @($input) } $Return = -join ($Binary | ForEach-Object { "{0:X2}" -f $_ }) - Write-Output $Return + $Return } \ No newline at end of file diff --git a/Public/Converts/Convert-BinaryToString.ps1 b/Public/Converts/Convert-BinaryToString.ps1 index 8499457..ad601da 100644 --- a/Public/Converts/Convert-BinaryToString.ps1 +++ b/Public/Converts/Convert-BinaryToString.ps1 @@ -5,6 +5,6 @@ function Convert-BinaryToString { [Byte[]]$Binary ) if ($null -ne $Binary) { - return [System.Text.Encoding]::Unicode.GetString($Binary) + [System.Text.Encoding]::Unicode.GetString($Binary) } } \ No newline at end of file