README

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 {
fn _get_internal_buffer(Self) -> ReaderBuffer
fn _direct_read(Self, FixedArray[Byte], offset~ : Int, max_len~ : Int) -> Int raise
fn read(Self, FixedArray[Byte], offset? : Int, max_len? : Int) -> Int raise = _
fn drop(Self, Int) -> Int raise = _
fn read_exactly(Self, len : Int) -> Bytes raise = _
fn read_some(Self, max_len? : Int) -> Bytes? raise = _
fn read_all(Self) -> &Data raise = _
fn read_until(Self, StringView) -> String? raise = _
}

#
Writer

pub(open) trait Writer {
fn write_once(Self, BytesView) -> Int raise
fn write(Self, &Data) -> Unit raise = _
fn 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