binary encode/decoding support in schema