Joffrey Bion
Joffrey Bion
I just hit this today as well. If I pass a plain `test` or even `/test` string to `parseToJsonElement`, the parsing succeeds and I get a `JsonLiteral`, which then cannot...
I have this need in [Krossbow](https://github.com/joffrey-bion/krossbow). It's a STOMP library built on top of multiple interchangeable web socket implementations (very much like Ktor, which is actually one of the supported...
I would also love to see this added, and I would add that an API for turning `ByteString` into a `Source` directly would also be very useful, because we cannot...
Thanks for this! I wasn't aware, but that looks quite promising. I will check if this solves my problem and report back.
I put my thoughts in https://github.com/Kotlin/kotlinx-io/issues/259, because I don't want to pollute this issue any further (it's related but different)
Alternatively, this method could be directly provided by `kotlinx-io` instead: ```kotlin /** * Returns the biggest prefix of this string that can be represented with at most [maxLength] UTF-8 bytes....
Ugh! I didn't realize `encodeToByteArray()` worked this way for incorrect standalone surrogates on JVM 🤯 Little experiments for those interested: https://pl.kotl.in/Yg3GwVJEc. > Kotlin Stdlib uses it Am I right that...
> With how Java encodes strings are being encoded to UTF-8. Ah I see, so rather consistency with Java APIs, but not compatibility in the sense that it would break...
>what origin header is your client using when connecting to the testsuite containers? I'm writing a wrapper over several web socket implementations, and using Autobahn TestSuite to verify that my...
Thanks a lot for looking into this! 🙏 That explains it. > the Autobahn-Python which the Autobahn-Testsuite uses is an older one (frozen to keep results static) Does it mean...