summary refs log tree commit diff
path: root/LibGit/Extensions/StringExtensions.cs
blob: f33bd4ebed9330f79a984ff9dae9b97ffb83de76 (plain) (blame)
1
2
3
4
5
6
7
8
using System.Text;

namespace LibGit.Extensions;

public static class StringExtensions
{
    public static IEnumerable<byte> AsBytes(this string str) => Encoding.UTF8.GetBytes(str);
}