Fix return type for byteLength()