- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,875 for Encoder (0.17 sec)
-
src/internal/pkgbits/encoder.go
func (w *Encoder) Uint64(x uint64) { w.Sync(SyncUint64) w.rawUvarint(x) } // Len encodes and writes a non-negative int value into the element bitstream. func (w *Encoder) Len(x int) { assert(x >= 0); w.Uint64(uint64(x)) } // Int encodes and writes an int value into the element bitstream. func (w *Encoder) Int(x int) { w.Int64(int64(x)) } // Len encodes and writes a uint value into the element bitstream.
Registered: 2024-06-12 16:32 - Last Modified: 2022-08-10 23:26 - 9.6K bytes - Viewed (0) -
src/encoding/gob/encoder.go
enc := new(Encoder) enc.w = []io.Writer{w} enc.sent = make(map[reflect.Type]typeId) enc.countState = enc.newEncoderState(new(encBuffer)) return enc } // writer returns the innermost writer the encoder is using. func (enc *Encoder) writer() io.Writer { return enc.w[len(enc.w)-1] } // pushWriter adds a writer to the encoder. func (enc *Encoder) pushWriter(w io.Writer) { enc.w = append(enc.w, w) }
Registered: 2024-06-12 16:32 - Last Modified: 2023-09-08 19:04 - 7.8K bytes - Viewed (0) -
docs/ja/docs/tutorial/encoder.md
同様に、このデータベースはPydanticモデル(属性を持つオブジェクト)を受け取らず、`dict`だけを受け取ります。 そのために`jsonable_encoder`を使用することができます。 Pydanticモデルのようなオブジェクトを受け取り、JSON互換版を返します: ```Python hl_lines="5 22" {!../../../docs_src/encoder/tutorial001.py!} ``` この例では、Pydanticモデルを`dict`に、`datetime`を`str`に変換します。
Registered: 2024-06-17 08:32 - Last Modified: 2024-01-22 20:09 - 1.9K bytes - Viewed (0) -
docs/uk/docs/tutorial/encoder.md
Registered: 2024-06-17 08:32 - Last Modified: 2024-04-18 19:53 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Encoder.java
/** * Writes the given byte array to the stream. Encodes the bytes and length information. */ void writeBinary(byte[] bytes, int offset, int count) throws IOException; /** * Appends an encoded stream to this stream. Encodes the stream as a series of chunks with length information. */ void encodeChunked(EncodeAction<Encoder> writeAction) throws Exception; /**
Registered: 2024-06-12 18:38 - Last Modified: 2024-04-15 16:06 - 4.1K bytes - Viewed (0) -
docs/de/docs/tutorial/encoder.md
=== "Python 3.10+" ```Python hl_lines="4 21" {!> ../../../docs_src/encoder/tutorial001_py310.py!} ``` === "Python 3.8+" ```Python hl_lines="5 22" {!> ../../../docs_src/encoder/tutorial001.py!} ``` In diesem Beispiel wird das Pydantic-Modell in ein `dict`, und das `datetime`-Objekt in ein `str` konvertiert.
Registered: 2024-06-17 08:32 - Last Modified: 2024-03-30 18:07 - 1.9K bytes - Viewed (0) -
docs/ru/docs/tutorial/encoder.md
Registered: 2024-06-17 08:32 - Last Modified: 2024-01-23 13:56 - 2.8K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
Registered: 2024-06-17 08:32 - Last Modified: 2023-10-17 05:59 - 1.8K bytes - Viewed (0) -
docs/em/docs/tutorial/encoder.md
⚫️ 📨 🎚, 💖 Pydantic 🏷, & 📨 🎻 🔗 ⏬: === "🐍 3️⃣.6️⃣ & 🔛" ```Python hl_lines="5 22" {!> ../../../docs_src/encoder/tutorial001.py!} ``` === "🐍 3️⃣.1️⃣0️⃣ & 🔛" ```Python hl_lines="4 21" {!> ../../../docs_src/encoder/tutorial001_py310.py!} ``` 👉 🖼, ⚫️ 🔜 🗜 Pydantic 🏷 `dict`, & `datetime` `str`.
Registered: 2024-06-17 08:32 - Last Modified: 2023-04-01 09:26 - 1.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/encoder.md
Registered: 2024-06-17 08:32 - Last Modified: 2024-04-18 19:53 - 1.9K bytes - Viewed (0)