Function hasEnoughBytes

bool hasEnoughBytes(T, ubyte N = T.sizeof) (
  in ubyte[] packet
) pure @property;