Fix ensureByte() function name (copy-and-paste error)