ValueConverterGetBytes Method (String, Encoding) |
Gets the bytes representing the specified value.
Namespace:
SampSharp.Core.Communication
Assembly:
SampSharp.Core (in SampSharp.Core.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public static byte[] GetBytes(
string value,
Encoding encoding
)
Parameters
- value
- Type: SystemString
The value. - encoding
- Type: System.TextEncoding
The encoding to use.
Return Value
Type:
ByteThe bytes representing the specified value
Exceptions See Also