Class ByteArray
- Namespace
- Inetlab.SMPP
- Assembly
- Inetlab.SMPP.dll
public static class ByteArray
- Inheritance
-
ByteArray
- Inherited Members
-
Methods
FromHexString(string)
public static byte[] FromHexString(this string str)
Parameters
str string
Returns
- byte[]
ToByteArray(ArraySegment<byte>)
public static byte[] ToByteArray(this ArraySegment<byte> segment)
Parameters
segment ArraySegment<byte>
Returns
- byte[]
ToHexString(byte[])
public static string ToHexString(this byte[] buffer)
Parameters
buffer byte[]
Returns
- string
ToHexString(byte[], int, int)
public static string ToHexString(this byte[] buffer, int offset, int count)
Parameters
buffer byte[]
offset int
count int
Returns
- string
ToUShort(byte[])
public static ushort ToUShort(byte[] buf)
Parameters
buf byte[]
Returns
- ushort