Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 524 for decoder (0.06 sec)

  1. docs/ja/docs/tutorial/encoder.md

    同様に、このデータベースはPydanticモデル(属性を持つオブジェクト)を受け取らず、`dict`だけを受け取ります。
    
    そのために`jsonable_encoder`を使用することができます。
    
    Pydanticモデルのようなオブジェクトを受け取り、JSON互換版を返します:
    
    {* ../../docs_src/encoder/tutorial001.py hl[5,22] *}
    
    この例では、Pydanticモデルを`dict`に、`datetime`を`str`に変換します。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Jun 22 14:36:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

         * @param len the length of data to decode
         * @throws IOException if an I/O error occurs during decoding
         */
        public SecurityDescriptor(final byte[] buffer, final int bufferIndex, final int len) throws IOException {
            this.decode(buffer, bufferIndex, len);
        }
    
        /**
         * Decodes a security descriptor from a byte buffer.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg encoding/xml, type Decoder struct
    pkg encoding/xml, type Decoder struct, AutoClose []string
    pkg encoding/xml, type Decoder struct, CharsetReader func(string, io.Reader) (io.Reader, error)
    pkg encoding/xml, type Decoder struct, Entity map[string]string
    pkg encoding/xml, type Decoder struct, Strict bool
    pkg encoding/xml, type Directive []uint8
    pkg encoding/xml, type Encoder struct
    pkg encoding/xml, type EndElement struct
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/FacetResponse.java

             */
            protected Map<String, Long> valueCountMap = new LinkedHashMap<>();
    
            /**
             * The decoded name of the field.
             */
            protected String name;
    
            /**
             * Constructs a Field from OpenSearch Terms aggregation.
             * Decodes the field name and processes all term buckets to extract
             * field values and their document counts.
             *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

        }
    
        /**
         * Decodes a security descriptor from a byte buffer.
         *
         * @param buffer the byte buffer containing the security descriptor data
         * @param bufferIndex the starting offset in the buffer
         * @param len the length of data to decode
         * @return the number of bytes decoded
         * @throws SMBProtocolDecodingException if the data cannot be properly decoded
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/Strings.java

            }
        }
    
        /**
         * Decodes a string from UTF-16LE (Unicode Little Endian) bytes.
         *
         * @param src the byte array containing the encoded string
         * @param srcIndex the starting offset in the byte array
         * @param len the number of bytes to decode
         * @return decoded string
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/encoder.md

    # JSON-kompatibler Encoder
    
    Es gibt Fälle, da möchten Sie einen Datentyp (etwa ein Pydantic-Modell) in etwas konvertieren, das kompatibel mit JSON ist (etwa ein `dict`, eine `list`e, usw.).
    
    Zum Beispiel, wenn Sie es in einer Datenbank speichern möchten.
    
    Dafür bietet **FastAPI** eine Funktion `jsonable_encoder()`.
    
    ## `jsonable_encoder` verwenden
    
    Stellen wir uns vor, Sie haben eine Datenbank `fake_db`, die nur JSON-kompatible Daten entgegennimmt.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/encoder.md

    # JSON Compatible Encoder
    
    Hay algunos casos en los que podrías necesitar convertir un tipo de dato (como un modelo de Pydantic) a algo compatible con JSON (como un `dict`, `list`, etc).
    
    Por ejemplo, si necesitas almacenarlo en una base de datos.
    
    Para eso, **FastAPI** proporciona una función `jsonable_encoder()`.
    
    ## Usando el `jsonable_encoder`
    
    Imaginemos que tienes una base de datos `fake_db` que solo recibe datos compatibles con JSON.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/conn/IdnDnsResolver.java

        }
    
        /**
         * Decodes the given host string using the specified encoding.
         *
         * @param host the host string to decode
         * @return the decoded host string
         */
        protected String decode(final String host) {
            if (host.indexOf('%') == -1) {
                return host;
            }
            try {
                return URLDecoder.decode(host, encoding);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/util/Base64.java

            buffer.append("=");
            return buffer.toString();
        }
    
        /**
         * Decodes the supplied Base-64 encoded string.
         *
         * @param string The Base-64 encoded string that is to be decoded.
         * @return A <code>byte[]</code> containing the decoded data block.
         */
        public static byte[] decode(final String string) {
            final int length = string.length();
            if (length == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
Back to top