Hi, does `kotlinx-serialization-protobuf` work wit...
# serialization
t
Hi, does
kotlinx-serialization-protobuf
work with Kotlin/JS?
t
Oh wow! So how does that work? I didn't think that browsers could deserialize binary formats like Protobuf
j
Actually they can, even Google provides an official (an crappy) support of protobuf on browsers : https://www.npmjs.com/package/google-protobuf Protobuf is just a binary format, you can deserialize it by reading the binary, and JS can do that! What is not supported on browsers is gRPC, because browsers don't provide low-level APIs to handle HTTP2 requests/responses