setPacketHeader

Set packet length and number. It's important that the length of packet has already been set to the final state as its length is used.

  1. void setPacketHeader(ubyte[] packet, ubyte packetNumber)
    @safe pure nothrow
    void
    setPacketHeader
    (
    ref ubyte[] packet
    ,)
  2. void setPacketHeader(ubyte[] packet, ubyte packetNumber, uint dataLength)

Meta