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