WriteNull() публичный Метод

public WriteNull ( ) : void
Результат void
Пример #1
0
        private void createStream()
        {
            var writer = new AmfWriter();

            writer.WriteString("createStream");
            writer.WriteNumber(4);
            writer.WriteNull();
            SendAmf(writer);
        }
Пример #2
0
        private void publish(string id)
        {
            var writer = new AmfWriter();

            writer.WriteString("publish");
            writer.WriteNumber(0);
            writer.WriteNull();
            writer.WriteString(id);
            writer.WriteString("live");
            SendAmf(writer);
        }
Пример #3
0
        public void Stop()
        {
            var amfWriter = new AmfWriter();

            amfWriter.WriteString("deleteStream");
            amfWriter.WriteNumber(7);
            amfWriter.WriteNull();
            amfWriter.WriteNumber(1);
            SendAmf(amfWriter);

            tcpClient.Close();
        }
Пример #4
0
 private void publish(string id)
 {
     var writer = new AmfWriter();
     writer.WriteString("publish");
     writer.WriteNumber(0);
     writer.WriteNull();
     writer.WriteString(id);
     writer.WriteString("live");
     SendAmf(writer);
 }
Пример #5
0
 private void createStream()
 {
     var writer = new AmfWriter();
     writer.WriteString("createStream");
     writer.WriteNumber(4);
     writer.WriteNull();
     SendAmf(writer);
 }
Пример #6
0
        public void Stop()
        {
            var amfWriter = new AmfWriter();
            amfWriter.WriteString("deleteStream");
            amfWriter.WriteNumber(7);
            amfWriter.WriteNull();
            amfWriter.WriteNumber(1);
            SendAmf(amfWriter);

            tcpClient.Close();
        }