Assert binary encoding