Add new toBinary() function to IPAddress.
authorFlorent Thoumie <ft@fb.com>
Mon, 26 Oct 2015 21:53:03 +0000 (14:53 -0700)
committerfacebook-github-bot-1 <folly-bot@fb.com>
Mon, 26 Oct 2015 22:20:20 +0000 (15:20 -0700)
commitfa9cc998742a2d675fbf18e1532a6568263146a7
tree2108df925099c1812d2014e56cdb1df4c5fdf90d
parente56b41ec1f70bbafd76ea1e43c7183ad3b10daff
Add new toBinary() function to IPAddress.

Summary: This is pretty much the reverse operation from the fromBinary() constructor.

Reviewed By: yfeldblum

Differential Revision: D2578680

fb-gh-sync-id: d8c4e53fe8bc0f5373ebb0b4f7ee498659c1b003
folly/IPAddressV4.h
folly/IPAddressV6.h
folly/test/IPAddressTest.cpp