← Microsoft questions

Remove last character from variable-length ASCII byte array

Filed under Microsoft

Given a byte array representing variable-length characters (1-byte: MSB 0, 2-bytes: MSB 1), remove the last complete character from the array.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Microsoft questions

Collected from public candidate posts and coding forums. Updated Nov 2026.