Menu

[r40]: / trunk / WhatsappClient / WhatsAppProtocol / Helper Classes / IncompleteMessageException.cs  Maximize  Restore  History

Download this file

27 lines (23 with data), 531 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class IncompleteMessageException : Exception
{
private int code;
private string message;
private byte[] buffer;
public IncompleteMessageException(string message, int code = 0)
{
this.message = message;
this.code = code;
}
public void setInput(byte[] input)
{
this.buffer = input;
}
public byte[] getInput()
{
return this.buffer;
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.