public virtual int putUnquotedUTF8(Sharpen.ByteBuffer buffer)
 {
     byte[] result = _unquotedUTF8Ref;
     if (result == null)
     {
         result = com.fasterxml.jackson.core.io.JsonStringEncoder.getInstance().encodeAsUTF8
             (_value);
         _unquotedUTF8Ref = result;
     }
     int length = result.Length;
     if (length > buffer.remaining())
     {
         return -1;
     }
     buffer.put(result, 0, length);
     return length;
 }