示例#1
0
        /// <summary>
        /// Get the channel field as ASCII
        /// </summary>
        /// <returns> channel field </returns>
        public string Channel()
        {
            int length = buffer.GetInt(offset + CHANNEL_OFFSET);

            lengthOfChannel = BitUtil.SIZE_OF_INT + length;

            return(buffer.GetStringAscii(offset + CHANNEL_OFFSET, length));
        }
示例#2
0
 /// <summary>
 /// Return the Log Filename in ASCII
 /// </summary>
 /// <returns> log filename </returns>
 public string LogFileName()
 {
     return(_buffer.GetStringAscii(_offset + LogFileNameOffset()));
 }
 /// <summary>
 /// Return the Log Filename in ASCII
 /// </summary>
 /// <returns> log filename </returns>
 public string LogFileName()
 {
     return(_buffer.GetStringAscii(_offset + LOG_FILE_NAME_OFFSET));
 }
 /// <summary>
 /// Error message associated with the error.
 /// </summary>
 /// <returns> error message </returns>
 public string ErrorMessage()
 {
     return(_buffer.GetStringAscii(_offset + ERROR_MESSAGE_OFFSET));
 }