Skip to content

Commit

Permalink
Update Format
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 9, 2024
1 parent 0aa0bba commit 98c1de8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public unsafe partial struct Utf8String : ICreatable, IDisposable {
public Utf8String(byte* str) : this() => SetString(str);
public Utf8String(string str) : this() => SetString(str);
public Utf8String(ReadOnlySpan<byte> str) : this() => SetString(str);

public readonly ReadOnlySpan<byte> AsSpan() => new(StringPtr, Length);

public readonly ReadOnlySpan<byte> Slice(int start) => AsSpan().Slice(start);
Expand Down

0 comments on commit 98c1de8

Please sign in to comment.