Buffer

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.bytes
  • Platforms: .NET, .NET Standard 2.0, Island


Instance Methods


constructor

 

constructor

 

Buffer()

 

init()

 

Sub New()

constructor (Buffer)

 

constructor(value: Buffer)

 

Buffer(Buffer value)

 

init(_ value: Buffer)

 

Sub New(value As Buffer)

Parameters:

  • value:

Read (Slice<Byte>): tuple of (n: Int64, err: error) Island

 

method Read(p: Slice<Byte>): tuple of (n: Int64, err: error)

 

(Int64 n, error err) Read(Slice<Byte> p)

 

func Read(_ p: Slice<Byte>) -> (Int64, error)

 

func Read(p Slice<Byte>) tuple of (|name=n| Int64, |name=err| error)

 

Function Read(p As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • p:

Write (Slice<Byte>): tuple of (n: Int64, err: error) Island

 

method Write(p: Slice<Byte>): tuple of (n: Int64, err: error)

 

(Int64 n, error err) Write(Slice<Byte> p)

 

func Write(_ p: Slice<Byte>) -> (Int64, error)

 

func Write(p Slice<Byte>) tuple of (|name=n| Int64, |name=err| error)

 

Function Write(p As Slice<Byte>) As Tuple (Of Int64, error)

Parameters:

  • p:

WriteByte (byte): error Island

 

method WriteByte(c: byte): error

 

error WriteByte(byte c)

 

func WriteByte(_ c: byte) -> error

 

func WriteByte(c byte) error

 

Function WriteByte(c As byte) As error

Parameters:

  • c:

WriteString (string): tuple of (n: Int64, err: error) Island

 

method WriteString(s: string): tuple of (n: Int64, err: error)

 

(Int64 n, error err) WriteString(string s)

 

func WriteString(_ s: string) -> (Int64, error)

 

func WriteString(s string) tuple of (|name=n| Int64, |name=err| error)

 

Function WriteString(s As string) As Tuple (Of Int64, error)

Parameters:

  • s: