Use bytes for detection