public static byte[] Pack(int command, int v1, int v2, bool v3, params CTX[] ctx) { Packer packer = new Packer(); Init(packer, ctx); packer.PackArrayBegin(4); packer.PackNumber(command); packer.PackNumber(v1); packer.PackNumber(v2); packer.PackBoolean(v3); return(packer.ToByteArray()); }
public override void Pack(Packer packer) { packer.PackBoolean(val); }
public override void Pack(Packer packer) { packer.PackBoolean(value); }