- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for encodeString (0.19 sec)
-
testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/kotlin-multiplatform-js-jvm-example/src/jsMain/kotlin/samples/Base64.kt
} object JsBase64Encoder : Base64Encoder { override fun encode(src: ByteArray): ByteArray { val string = src.decodeToString() val encodedString = window.btoa(string) return encodedString.encodeToByteArray() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 07:33:24 UTC 2024 - 1003 bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc
classpath 'com.android.tools.build:gradle:4.1.0' // used in subproject } } tasks.register('encode') { doLast { def byte[] encodedString = new Base64().encode('hello world\n'.getBytes()) println new String(encodedString) } } ---- And you can apply the globally declared dependencies in the subproject that needs it: [source,subproject/build.gradle] ---- plugins {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 04:11:37 UTC 2024 - 24.2K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/profile/encode.go
} for _, x := range p.Mapping { encodeMessage(b, 3, x) } for _, x := range p.Location { encodeMessage(b, 4, x) } for _, x := range p.Function { encodeMessage(b, 5, x) } encodeStrings(b, 6, p.stringTable) encodeInt64Opt(b, 7, p.dropFramesX) encodeInt64Opt(b, 8, p.keepFramesX) encodeInt64Opt(b, 9, p.TimeNanos) encodeInt64Opt(b, 10, p.DurationNanos)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:19:53 UTC 2024 - 17.1K bytes - Viewed (0) -
src/net/http/transport_test.go
for _, ce := range []string{"gzip", "GZIP"} { ce := ce t.Run(ce, func(t *testing.T) { const encodedString = "Hello Gopher" ts := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) { w.Header().Set("Content-Encoding", ce) gz := gzip.NewWriter(w) gz.Write([]byte(encodedString)) gz.Close() })).ts res, err := ts.Client().Get(ts.URL) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 192.6K bytes - Viewed (0)