public OpaqueEndpointI(short type, Ice.InputStream s) { _type = type; _rawEncoding = s.Encoding; int sz = s.GetEncapsulationSize(); _rawBytes = new byte[sz]; s.ReadBlob(_rawBytes); }
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; }
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); }
public OpaqueEndpointI(short type, Ice.InputStream s) { _type = type; _rawEncoding = s.Encoding; _rawBytes = s.ReadBlob(s.GetEncapsulationSize()); }