private _writeValueHeader ( byte tagNumber, ApplicationTag defaultTag, bool value ) : void | ||
tagNumber | byte | The tag number of the header, or 255 for an application tag |
defaultTag | ApplicationTag | The default application tag if the tag number is 255 |
value | bool | The boolean value LVT |
Результат | void |
private void _writeValueHeader(byte tagNumber, ApplicationTag defaultTag, bool value)
{
_writeHeader(tagNumber, defaultTag, (byte)(value ? 0x01 : 0x00));
}