mysql-native v3.0.0

API Reference Home: [This Version] [Latest Version] [Other Versions]


setPacketHeader - multiple declarations

Function 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.

void setPacketHeader (
  ref ubyte[] packet,
  ubyte packetNumber
) pure;

Function setPacketHeader

void setPacketHeader (
  ref ubyte[] packet,
  ubyte packetNumber,
  uint dataLength
) pure;