Add in_area function. (Amend)
This commit is contained in:
@@ -20,6 +20,13 @@ namespace Cryville.Common.Pdt {
|
||||
Length = len;
|
||||
}
|
||||
/// <summary>
|
||||
/// Copies the memory in the span to another span.
|
||||
/// </summary>
|
||||
/// <param name="dest">The destination span.</param>
|
||||
public void CopyTo(PdtVariableMemory dest) {
|
||||
CopyTo(dest._ptr, 0, Length);
|
||||
}
|
||||
/// <summary>
|
||||
/// Copies the memory in the span to a buffer.
|
||||
/// </summary>
|
||||
/// <param name="dest">The destination buffer.</param>
|
||||
|
Reference in New Issue
Block a user