WriteStringLen() 공개 메소드

public WriteStringLen ( string pValue, bool addNullTerminator = false ) : void
pValue string
addNullTerminator bool
리턴 void
예제 #1
0
 public static Packet CreateWorldMessage(WorldMessageTypes pType, string pMessage)
 {
     var packet = new Packet(SH25Type.WorldMessage);
     packet.WriteByte((byte)pType);
     packet.WriteStringLen(pMessage, true);
     return packet;
 }