Add ByteString
conversions for JS binary types like ArrayBuffer
, Int8Array
, Blob
, etc.
#268
Labels
Design
enhancement
integration
An issue related to the integration with other libraries or platform-specific APIs
In the same vibe as #266, we could add conversions from JS binary types like
ArrayBuffer
,Blob
,Int8Array
...Dealing with binary data in JS is a bit annoying. For example, the
ArrayBuffer
type is not directly usable and needs to be wrapped in a view. Providing such conversions out of the box in thekotlinx-io-bytestring
artifact would be useful for a true multiplatform experience.Examples:
The text was updated successfully, but these errors were encountered: