Esempio n. 1
0
        public OpaqueEndpointI(short type, Ice.InputStream s)
        {
            _type        = type;
            _rawEncoding = s.Encoding;
            int sz = s.GetEncapsulationSize();

            _rawBytes = new byte[sz];
            s.ReadBlob(_rawBytes);
        }
Esempio n. 2
0
        public static void DumpStream(Ice.InputStream stream)
        {
            int pos = stream.Pos;

            stream.Pos = 0;

            byte[] data = new byte[stream.Size];
            stream.ReadBlob(data);
            DumpOctets(data);

            stream.Pos = pos;
        }
Esempio n. 3
0
        public static void dumpStream(Ice.InputStream stream)
        {
            int pos = stream.pos();

            stream.pos(0);

            byte[] data = new byte[stream.size()];
            stream.ReadBlob(data);
            dumpOctets(data);

            stream.pos(pos);
        }
Esempio n. 4
0
 public OpaqueEndpointI(short type, Ice.InputStream s)
 {
     _type        = type;
     _rawEncoding = s.Encoding;
     _rawBytes    = s.ReadBlob(s.GetEncapsulationSize());
 }