Пример #1
0
 public void writeConstructor() {
   _encoder.writeRaw(EncodingCodes.DESCRIBED_TYPE_INDICATOR);
   _descriptorType.writeConstructor();
   _descriptorType.writeValue(_descriptor);
   _underlyingEncoding.writeConstructor();
 }
Пример #2
0
 public void write(final DescribedType val) {
   TypeEncoding<DescribedType> encoding = getEncoding(val);
   encoding.writeConstructor();
   encoding.writeValue(val);
 }