refactor TextLabelLogRepository
use bit shifting in Legacy::ini_bytes()