public void SendAllExcluding(Byteable data, IPEndPoint ip, bool reliable) { BitBuffer bitBuffer = new BitBuffer(); data.PutBytes(bitBuffer); bitBuffer.Flip(); SendAllExcluding(bitBuffer.GetByteArray(), ip, reliable); }
public void SendAll(Byteable data, bool reliable) { BitBuffer bitBuffer = new BitBuffer(); data.PutBytes(bitBuffer); bitBuffer.Flip(); SendAll(bitBuffer.GetByteArray(), reliable); }