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