In the 1965 - 69 TV series ("The Wild Wild West"), it has often featured many kinds of passé gadgets. Many of the gadgets were specifically concealed in the outfit that James West (Robert Conrad) liked to wear. In his boot heels, West normally kept the two halves of a small breakaway gun (a derringer). After he put the derringer together, he would get two bullets from his belt buckle.

With the breakaway Remington Derringer, usually the frame (handle and trigger mechanism) was located in one hollowed out boot heel, while the double-barrel assembly was located in the other heel. The two pieces snapped together and locked in place. West obtained bullets from a secret compartment in his belt buckle, or the chambers were loaded beforehand.

More Info: en.wikipedia.org