add readUint24 to InputBuffer