public OpaqueEndpointI(short type, BasicStream s) { _type = type; _rawEncoding = s.startReadEncaps(); int sz = s.getReadEncapsSize(); _rawBytes = new byte[sz]; s.readBlob(_rawBytes); s.endReadEncaps(); calcHashValue(); }