Change variables calling getByteSize to byteSize.