Consider implementing an optimised bytes codec, which is intended for object arrays containing only variable-length byte strings.