Skip to content

Commit

Permalink
[dotnet] [bidi] Rename method of screenshot result to ToByteArray
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Sep 14, 2024
1 parent dd50e28 commit b778ad5
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,5 @@ public record ElementClipRectangle(Script.SharedReference Element) : ClipRectang

public record CaptureScreenshotResult(string Data)
{
public byte[] AsBytes()
{
return System.Convert.FromBase64String(Data);
}
public byte[] ToByteArray() => System.Convert.FromBase64String(Data);
}

0 comments on commit b778ad5

Please sign in to comment.