This version of the module is deprecated: use moonbitlang/async or peter-jerry-ye/wasi instead.

    moonbit-community/miniio/io does not have a README file

    Data

    trait Data

    impl Data for String
    impl Data for Bytes
    impl Data for Json
    impl Data for BytesView
    impl Data for StringView

    Reader

    pub(open) trait Reader {
    _get_internal_buffer(Self) -> ReaderBuffer
    _direct_read(Self, FixedArray[Byte], offset~ : Int, max_len~ : Int) -> Int raise
    read(Self, FixedArray[Byte], offset? : Int, max_len? : Int) -> Int raise = _
    drop(Self, Int) -> Int raise = _
    read_exactly(Self, len : Int) -> Bytes raise = _
    read_some(Self, max_len? : Int) -> Bytes? raise = _
    read_all(Self) -> &Data raise = _
    read_until(Self, StringView) -> String? raise = _
    }

    Writer

    pub(open) trait Writer {
    write_once(Self, BytesView) -> Int raise
    write(Self, &Data) -> Unit raise = _
    write_reader(Self, &Reader) -> Unit raise = _
    }

    ReaderClosed

    pub(all) suberror ReaderClosed derive(ToJson,
    Debug
    )

    ReaderBuffer

    #internal(internal, "this type is for internal use only")
    type ReaderBuffer

    This type is for internal use only, end users should not use this type directly.

    ReaderBuffer::new

    #internal(internal, "this function is for internal use only")
    fn ReaderBuffer::new() -> ReaderBuffer

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io