code: @Override
      public final void writeTypedElement(AsciiValueEncoder enc)
          throws IOException
      {
          if (mOut == null) {
              return;
          }
  
          int free = mOutputBufLen - mOutputPtr;
          if (enc.bufferNeedsFlush(free)) {
              flush();
          }
          while (true) {
              mOutputPtr = enc.encodeMore(mOutputBuffer, mOutputPtr, mOutputBufLen);
              // If no flushing needed, indicates that all data was encoded
              if (enc.isCompleted()) {
                  break;
              }
              flush();
          }
      }
docs: /*
  //////////////////////////////////////////////
  Methods used by Typed Access API
  //////////////////////////////////////////////