bytes as scalar type