unified support for bytes and float.