diff --git a/source/tristanable/encoding.d b/source/tristanable/encoding.d index 53e7e86..bc88d96 100644 --- a/source/tristanable/encoding.d +++ b/source/tristanable/encoding.d @@ -17,6 +17,10 @@ public final class DataMessage return new DataMessage(receivedTag, receivedData); } + /** + * Constructs a new DataMessage with + * the give `tag` and bytes `data` + */ this(ulong tag, byte[] data) { this.tag = tag;