Practice of using ruby binary functions to create MessagePack format