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-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic 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