code: public void writeTo (@Nonnull final ByteBuffer aDestBuffer, final boolean bCompactBuffer)
    {
      ValueEnforcer.notNull (aDestBuffer, "DestBuffer");
  
      m_aBuffer.flip ();
      aDestBuffer.put (m_aBuffer);
      if (bCompactBuffer)
        m_aBuffer.compact ();
    }
docs: Write everything currently contained to the specified buffer. If the passed
  buffer is too small, a {@link java.nio.BufferOverflowException} is thrown.
  The copied elements are removed from this streams buffer.
  
  @param aDestBuffer
  The destination buffer to write to. May not be <code>null</code>.
  @param bCompactBuffer
  <code>true</code> to compact the buffer afterwards,
  <code>false</code> otherwise.