servicepoint/crates/servicepoint_binding_cs/ServicePoint/ByteSlice.cs

7 lines
130 B
C#
Raw Permalink Normal View History

2024-10-19 14:45:21 +02:00
namespace ServicePoint;
public partial struct SPByteSlice
{
2024-10-19 16:04:01 +02:00
public unsafe Span<byte> AsSpan() => new (start, (int)length);
2024-10-19 14:45:21 +02:00
}