CRCHelperCRC16 Method (String, Encoding) |
按指定字符集 CRC16 加密
Namespace: AdfAssembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax public static ushort CRC16(
string str,
Encoding encoding
)
Public Shared Function CRC16 (
str As String,
encoding As Encoding
) As UShort
public:
static unsigned short CRC16(
String^ str,
Encoding^ encoding
)
static member CRC16 :
str : string *
encoding : Encoding -> uint16
Parameters
- str
- Type: SystemString
[Missing <param name="str"/> documentation for "M:Adf.CRCHelper.CRC16(System.String,System.Text.Encoding)"]
- encoding
- Type: System.TextEncoding
[Missing <param name="encoding"/> documentation for "M:Adf.CRCHelper.CRC16(System.String,System.Text.Encoding)"]
Return Value
Type:
UInt16[Missing <returns> documentation for "M:Adf.CRCHelper.CRC16(System.String,System.Text.Encoding)"]
See Also