/// <summary> /// Blindly copy to given pre-allocated SpanByte, assuming sufficient space. /// Does not change length of destination. /// </summary> /// <param name="dst"></param> public void CopyTo(ref SpanByte dst) { AsReadOnlySpan().CopyTo(dst.AsSpan()); }
/// <summary> /// Blindly copy to given pre-allocated SpanByte, assuming sufficient space. /// Does not change length of destination. /// </summary> /// <param name="dst"></param> public void CopyTo(ref SpanByte dst) { dst.ExtraMetadata = ExtraMetadata; AsReadOnlySpan().CopyTo(dst.AsSpan()); }