int GetShortSrcLen(byte[] str) { int i = 0; for (; i < 128; i++) { if (str[i] == '\0') { return i; } } return i; }