<PackageReference Include="System.Drawing.Common" Version="10.0.2" />
System.Private.Windows.Ole.GlobalBuffer
Simple scope for writing to HGLOBAL memory.
namespace System.
Private.
Windows.
Ole
{
internal ref struct GlobalBuffer
{
public HRESULT Status { get; }
public unsafe void*
Pointer { get; }
public GlobalBuffer(
HGLOBAL hglobal,
uint length);
public Span<
byte>
AsSpan();
public Span<
char>
AsCharSpan();
public void Dispose();
}
}