- Removed requirement to pass `byte[]` to us
- Removed commented-out method

Test

- Removed up-call
This commit is contained in:
Tristan B. Velloza Kildaire 2023-10-08 17:11:12 +02:00
parent 1650775133
commit dc5790eae7
2 changed files with 2 additions and 5 deletions

View File

@ -29,9 +29,9 @@ public abstract class Command
{
private byte[] data;
this(byte[] data)
this()
{
this.data = data;
}
/**
@ -46,8 +46,6 @@ public abstract class Command
this.data = data;
}
// public abstract byte[] encode();
/**
* Returns the bianry data of this
* command

View File

@ -10,7 +10,6 @@ public final class NopMessage : Command
this()
{
registerClass!(typeof(this));
super(cast(byte[])pack(this));
}
public string getTestField()