Update PacketWriter.cs