ReadWriter
Overview
Location
-
Reference:
- Go.dll .NET, .NET Standard 2.0
- Go.fx Island
- Namespace: go.bufio
- Platforms: .NET, .NET Standard 2.0, Island
constructor
constructor
ReadWriter()
init()
Sub New()
// .NET, .NET Standard 2.0
constructor(aReader: Memory<Reader>; aWriter: Memory<Writer>)
// Island
constructor(aReader: Memory<Reader>; aWriter: Memory<Writer>)
// .NET, .NET Standard 2.0
ReadWriter(Memory<Reader> aReader, Memory<Writer> aWriter)
// Island
ReadWriter(Memory<Reader> aReader, Memory<Writer> aWriter)
Parameters:
- aReader:
- aWriter:
constructor (ReadWriter)
constructor(value: ReadWriter)
ReadWriter(ReadWriter value)
init(_ value: ReadWriter)
Sub New(value As ReadWriter)
Parameters:
- value:
Available
method Available: int
int Available()
func Available() -> int
func Available() int
Function Available() As int
Buffered
method Buffered: int
int Buffered()
func Buffered() -> int
func Buffered() int
Function Buffered() As int
Discard
Parameters:
- n:
Flush
method Flush: error
error Flush()
func Flush() -> error
func Flush() error
Function Flush() As error
Peek
// .NET, .NET Standard 2.0
method Peek(n: Int64): tuple of (Slice<Byte>, error)
// Island
method Peek(n: int): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
(Slice<Byte>, error) Peek(Int64 n)
// Island
(Slice<Byte>, error) Peek(int n)
// .NET, .NET Standard 2.0
func Peek(_ n: Int64) -> (Slice<Byte>, error)
// Island
func Peek(_ n: int) -> (Slice<Byte>, error)
Parameters:
- n:
Read
Parameters:
- p:
ReadByte
ReadBytes
// .NET, .NET Standard 2.0
method ReadBytes(delim: Byte): tuple of (Slice<Byte>, error)
// Island
method ReadBytes(delim: byte): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
(Slice<Byte>, error) ReadBytes(Byte delim)
// Island
(Slice<Byte>, error) ReadBytes(byte delim)
// .NET, .NET Standard 2.0
func ReadBytes(_ delim: Byte) -> (Slice<Byte>, error)
// Island
func ReadBytes(_ delim: byte) -> (Slice<Byte>, error)
Parameters:
- delim:
Reader
ReadFrom
func ReadFrom(_ r: Reader) -> (int64, error)
Function ReadFrom(r As Reader) As Tuple (Of int64, error)
Parameters:
- r:
ReadLine
func ReadLine() -> (Slice<Byte>, Boolean, error)
Function ReadLine() As Tuple (Of Slice<Byte>, Boolean, error)
ReadRune
func ReadRune() -> (rune, Int64, error)
Function ReadRune() As Tuple (Of rune, Int64, error)
ReadSlice
Parameters:
- delim:
ReadString
// .NET, .NET Standard 2.0
method ReadString(delim: Byte): tuple of (string, error)
// Island
method ReadString(delim: byte): tuple of (string, error)
// .NET, .NET Standard 2.0
(string, error) ReadString(Byte delim)
// Island
(string, error) ReadString(byte delim)
// .NET, .NET Standard 2.0
func ReadString(_ delim: Byte) -> (string, error)
// Island
func ReadString(_ delim: byte) -> (string, error)
Parameters:
- delim:
Reset
Parameters:
- r:
Size
UnreadByte
method UnreadByte: error
error UnreadByte()
func UnreadByte() -> error
func UnreadByte() error
Function UnreadByte() As error
UnreadRune
method UnreadRune: error
error UnreadRune()
func UnreadRune() -> error
func UnreadRune() error
Function UnreadRune() As error
Write
Parameters:
- p:
WriteByte
// .NET, .NET Standard 2.0
method WriteByte(c: Byte): error
// Island
method WriteByte(c: byte): error
Parameters:
- c:
Writer
WriteRune
func WriteRune(_ r: rune) -> (Int64, error)
Function WriteRune(r As rune) As Tuple (Of Int64, error)
Parameters:
- r:
WriteString
Parameters:
- s:
WriteTo
func WriteTo(_ w: Writer) -> (int64, error)
Function WriteTo(w As Writer) As Tuple (Of int64, error)
Parameters:
- w:
Reader
Writer
constructor
constructor
ReadWriter()
init()
Sub New()
// .NET, .NET Standard 2.0
constructor(aReader: Memory<Reader>; aWriter: Memory<Writer>)
// Island
constructor(aReader: Memory<Reader>; aWriter: Memory<Writer>)
// .NET, .NET Standard 2.0
ReadWriter(Memory<Reader> aReader, Memory<Writer> aWriter)
// Island
ReadWriter(Memory<Reader> aReader, Memory<Writer> aWriter)
Parameters:
- aReader:
- aWriter:
constructor (ReadWriter)
constructor(value: ReadWriter)
ReadWriter(ReadWriter value)
init(_ value: ReadWriter)
Sub New(value As ReadWriter)
Parameters:
- value:
Available
method Available: int
int Available()
func Available() -> int
func Available() int
Function Available() As int
Buffered
method Buffered: int
int Buffered()
func Buffered() -> int
func Buffered() int
Function Buffered() As int
Discard
Parameters:
- n:
Flush
method Flush: error
error Flush()
func Flush() -> error
func Flush() error
Function Flush() As error
Peek
// .NET, .NET Standard 2.0
method Peek(n: Int64): tuple of (Slice<Byte>, error)
// Island
method Peek(n: int): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
(Slice<Byte>, error) Peek(Int64 n)
// Island
(Slice<Byte>, error) Peek(int n)
// .NET, .NET Standard 2.0
func Peek(_ n: Int64) -> (Slice<Byte>, error)
// Island
func Peek(_ n: int) -> (Slice<Byte>, error)
Parameters:
- n:
Read
Parameters:
- p:
ReadByte
ReadBytes
// .NET, .NET Standard 2.0
method ReadBytes(delim: Byte): tuple of (Slice<Byte>, error)
// Island
method ReadBytes(delim: byte): tuple of (Slice<Byte>, error)
// .NET, .NET Standard 2.0
(Slice<Byte>, error) ReadBytes(Byte delim)
// Island
(Slice<Byte>, error) ReadBytes(byte delim)
// .NET, .NET Standard 2.0
func ReadBytes(_ delim: Byte) -> (Slice<Byte>, error)
// Island
func ReadBytes(_ delim: byte) -> (Slice<Byte>, error)
Parameters:
- delim:
ReadFrom
func ReadFrom(_ r: Reader) -> (int64, error)
Function ReadFrom(r As Reader) As Tuple (Of int64, error)
Parameters:
- r:
ReadLine
func ReadLine() -> (Slice<Byte>, Boolean, error)
Function ReadLine() As Tuple (Of Slice<Byte>, Boolean, error)
ReadRune
func ReadRune() -> (rune, Int64, error)
Function ReadRune() As Tuple (Of rune, Int64, error)
ReadSlice
Parameters:
- delim:
ReadString
// .NET, .NET Standard 2.0
method ReadString(delim: Byte): tuple of (string, error)
// Island
method ReadString(delim: byte): tuple of (string, error)
// .NET, .NET Standard 2.0
(string, error) ReadString(Byte delim)
// Island
(string, error) ReadString(byte delim)
// .NET, .NET Standard 2.0
func ReadString(_ delim: Byte) -> (string, error)
// Island
func ReadString(_ delim: byte) -> (string, error)
Parameters:
- delim:
Reset
Parameters:
- r:
Size
UnreadByte
method UnreadByte: error
error UnreadByte()
func UnreadByte() -> error
func UnreadByte() error
Function UnreadByte() As error
UnreadRune
method UnreadRune: error
error UnreadRune()
func UnreadRune() -> error
func UnreadRune() error
Function UnreadRune() As error
Write
Parameters:
- p:
WriteByte
// .NET, .NET Standard 2.0
method WriteByte(c: Byte): error
// Island
method WriteByte(c: byte): error
Parameters:
- c:
WriteRune
func WriteRune(_ r: rune) -> (Int64, error)
Function WriteRune(r As rune) As Tuple (Of Int64, error)
Parameters:
- r:
WriteString
Parameters:
- s:
WriteTo
func WriteTo(_ w: Writer) -> (int64, error)
Function WriteTo(w As Writer) As Tuple (Of int64, error)
Parameters:
- w: