web-serial-rxjs API Documentation
    Preparing search index...

    Type Alias SerialPayload

    SerialPayload: string | Uint8Array

    Payload accepted by SerialSession.send$.

    Strings are UTF-8 encoded via a shared TextEncoder when send$ is subscribed. Uint8Array values are copied at that same moment and written unchanged. Later mutation of the caller's buffer does not affect a queued write.