Tce.RpcBinarySerializer.writeBool C# (CSharp) Method

writeBool() public static method

public static writeBool ( bool value, BinaryWriter writer ) : void
value bool
writer System.IO.BinaryWriter
return void
        public static void writeBool(bool value, BinaryWriter writer)
        {
            byte byteval = value ? (byte)1 : (byte)0;
            writeByte(byteval,writer);
        }