Converts a boolean value into an array of bytes with length one.
[Visual Basic] Overloads Public Shared Function GetBytes( _ ByVal value As Boolean _ ) As Byte () [C#] public static byte[] GetBytes( bool value ); [C++] public: static unsigned char* GetBytes( bool value ) []; [JScript] public static function GetBytes( value : Boolean ) : Byte[];
An array of bytes with length one.
BitConverter Class | BitConverter Members | System Namespace | BitConverter.GetBytes Overload List