/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); encodeOutput(addedTo.getFile(), out); encodedForm = out.toByteArray(); setWriteSize(encodedForm.length); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. try { encoded = encode(addedTo.getFile(), null, null, null, false); setWriteSize(encoded.length); } catch (RuntimeException ex) { throw ExceptionWithContext.withContext(ex, "...while placing debug info for " + ref.toHuman()); } }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); encodeOutput(addedTo.getFile(), out); encodedForm = out.toByteArray(); setWriteSize(encodedForm.length); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. try { encoded = encode(addedTo.getFile(), null, null, null, false); setWriteSize(encoded.length); } catch (RuntimeException ex) { throw ExceptionWithContext.withContext(ex, "...while placing debug info for " + ref.toHuman()); } }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. try { encoded = encode(addedTo.getFile(), null, null, null, false); setWriteSize(encoded.length); } catch (RuntimeException ex) { throw ExceptionWithContext.withContext(ex, "...while placing debug info for " + ref.toHuman()); } }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); encodeOutput(addedTo.getFile(), out); encodedForm = out.toByteArray(); setWriteSize(encodedForm.length); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); encodeOutput(addedTo.getFile(), out); encodedForm = out.toByteArray(); setWriteSize(encodedForm.length); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. try { encoded = encode(addedTo.getFile(), null, null, null, false); setWriteSize(encoded.length); } catch (RuntimeException ex) { throw ExceptionWithContext.withContext(ex, "...while placing debug info for " + ref.toHuman()); } }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); encodeOutput(addedTo.getFile(), out); encodedForm = out.toByteArray(); setWriteSize(encodedForm.length); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. try { encoded = encode(addedTo.getFile(), null, null, null, false); setWriteSize(encoded.length); } catch (RuntimeException ex) { throw ExceptionWithContext.withContext(ex, "...while placing debug info for " + ref.toHuman()); } }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. try { encoded = encode(addedTo.getFile(), null, null, null, false); setWriteSize(encoded.length); } catch (RuntimeException ex) { throw ExceptionWithContext.withContext(ex, "...while placing debug info for " + ref.toHuman()); } }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); encoder.writeAnnotation(annotation, false); encodedForm = out.toByteArray(); // Add one for the visibility byte in front of the encoded annotation. setWriteSize(encodedForm.length + 1); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); encoder.writeArray(value, true); encodedForm = out.toByteArray(); setWriteSize(encodedForm.length); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); encoder.writeAnnotation(annotation, false); encodedForm = out.toByteArray(); // Add one for the visibility byte in front of the encoded annotation. setWriteSize(encodedForm.length + 1); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); encoder.writeArray(array, false); encodedForm = out.toByteArray(); setWriteSize(encodedForm.length); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); encoder.writeAnnotation(annotation, false); encodedForm = out.toByteArray(); // Add one for the visibility byte in front of the encoded annotation. setWriteSize(encodedForm.length + 1); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); encoder.writeAnnotation(annotation, false); encodedForm = out.toByteArray(); // Add one for the visibility byte in front of the encoded annotation. setWriteSize(encodedForm.length + 1); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); encoder.writeArray(array, false); encodedForm = out.toByteArray(); setWriteSize(encodedForm.length); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); encoder.writeAnnotation(annotation, false); encodedForm = out.toByteArray(); // Add one for the visibility byte in front of the encoded annotation. setWriteSize(encodedForm.length + 1); }
/** {@inheritDoc} */ @Override protected void place0(Section addedTo, int offset) { // Encode the data and note the size. ByteArrayAnnotatedOutput out = new ByteArrayAnnotatedOutput(); ValueEncoder encoder = new ValueEncoder(addedTo.getFile(), out); encoder.writeArray(array, false); encodedForm = out.toByteArray(); setWriteSize(encodedForm.length); }