parent
38b86c43c2
commit
20b36e9746
|
@ -54,6 +54,10 @@ public abstract class Command
|
||||||
*/
|
*/
|
||||||
public final byte[] getEncoded()
|
public final byte[] getEncoded()
|
||||||
{
|
{
|
||||||
|
// Force repack of the object
|
||||||
|
repack();
|
||||||
|
|
||||||
|
// Return the data
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -20,9 +20,6 @@ public final class NopMessage : Command
|
||||||
public void setTestField(string testField)
|
public void setTestField(string testField)
|
||||||
{
|
{
|
||||||
this.testField = testField;
|
this.testField = testField;
|
||||||
|
|
||||||
// Ensure re-encoded
|
|
||||||
repack();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string toString()
|
public override string toString()
|
||||||
|
|
Loading…
Reference in New Issue