From 4ff3ad2363c111d8723821687b14c1189ecac675 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sat, 5 Nov 2022 23:04:19 +0700 Subject: Add Span-based variants in DTLS --- crypto/src/tls/DatagramSender.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crypto/src/tls/DatagramSender.cs') diff --git a/crypto/src/tls/DatagramSender.cs b/crypto/src/tls/DatagramSender.cs index bf14c18fe..c2a987b51 100644 --- a/crypto/src/tls/DatagramSender.cs +++ b/crypto/src/tls/DatagramSender.cs @@ -10,5 +10,10 @@ namespace Org.BouncyCastle.Tls /// void Send(byte[] buf, int off, int len); + +#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER + /// + void Send(ReadOnlySpan buffer); +#endif } } -- cgit 1.4.1