public final String getShortMessage() {byte[] raw = buffer;int msgB = RawParseUtils.commitMessage(raw, 0);if (msgB < 0) {return ""; }int msgE = RawParseUtils.endOfParagraph(raw, msgB);String str = RawParseUtils.decode(guessEncoding(), raw, msgB, msgE);if (hasLF(raw, msgB, msgE)) {str = StringUtils.replaceLineBreaksWithSpace(str);}return str;}
public string GetShortMessage(){byte[] raw = buffer;int msgB = RawParseUtils.CommitMessage(raw, 0);if (msgB < 0){return string.Empty;}System.Text.Encoding enc = RawParseUtils.ParseEncoding(raw);int msgE = RawParseUtils.EndOfParagraph(raw, msgB);string str = RawParseUtils.Decode(enc, raw, msgB, msgE);if (HasLF(raw, msgB, msgE)){str = str.Replace('\n', ' ');}return str;}