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(value: Buffer)

Parameters:

  • value:

method Read(p: Slice<Byte>): tuple of (n: Int64, err: error)
(Int64 n, error err) Read(Slice<Byte> p)
func Read(_ p: Slice<Byte>) -> tuple of (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:

method Write(p: Slice<Byte>): tuple of (n: Int64, err: error)
(Int64 n, error err) Write(Slice<Byte> p)
func Write(_ p: Slice<Byte>) -> tuple of (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:

method WriteByte(c: byte): error
func WriteByte(_ c: byte) -> error
func WriteByte(c byte) error
Function WriteByte(c As byte) As error

Parameters:

  • c:

method WriteString(s: string): tuple of (n: Int64, err: error)
(Int64 n, error err) WriteString(string s)
func WriteString(_ s: string) -> tuple of (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: