コード例 #1
0
 public static byte[] Encrypt(this CryptoService service, byte[] buffer, int offset, int count) => service.Encrypt(new ArraySegment <byte>(buffer, offset, count));
コード例 #2
0
 public static byte[] Encrypt(this CryptoService service, byte[] buffer) => service.Encrypt(new ArraySegment <byte>(buffer, 0, buffer.Length));