Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
PrzemyslawKlys committed Jun 29, 2024
1 parent 2fe22ea commit 3ca069b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Public/Converts/Convert-BinaryToHex.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ function Convert-BinaryToHex {
$Binary = @($input)
}
$Return = -join ($Binary | ForEach-Object { "{0:X2}" -f $_ })
Write-Output $Return
$Return
}
2 changes: 1 addition & 1 deletion Public/Converts/Convert-BinaryToString.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit 3ca069b

Please sign in to comment.