PacketBuilder implementation