Global

Location

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

 

constructor

 

constructor

 

__Global()

 

init()

 

Sub New()

Discard

 

class var Discard: Writer;

 

static Writer Discard

 

static var Discard: Writer

 

Discard Writer

 

Shared FIELD Discard() As Writer

NopCloser

 

class method NopCloser(r: Reader): ReadCloser

 

static ReadCloser NopCloser(Reader r)

 

static func NopCloser(_ r: Reader) -> ReadCloser

 

func NopCloser(r Reader) ReadCloser

 

Shared Function NopCloser(r As Reader) As ReadCloser

Parameters:

  • r:

ReadAll

 

class method ReadAll(r: Reader): tuple of (Slice<Byte>, error)

 

static (Slice<Byte>, error) ReadAll(Reader r)

 

static func ReadAll(_ r: Reader) -> (Slice<Byte>, error)

 

func ReadAll(r Reader) tuple of (Slice<Byte>, error)

 

Shared Function ReadAll(r As Reader) As Tuple (Of Slice<Byte>, error)

Parameters:

  • r:

ReadDir

 

class method ReadDir(dir: String): tuple of (Slice<FileInfo>, error)

 

static (Slice<FileInfo>, error) ReadDir(String dir)

 

static func ReadDir(_ dir: String) -> (Slice<FileInfo>, error)

 

func ReadDir(dir String) tuple of (Slice<FileInfo>, error)

 

Shared Function ReadDir(dir As String) As Tuple (Of Slice<FileInfo>, error)

Parameters:

  • dir:

ReadFile

 

class method ReadFile(fn: String): tuple of (Slice<Byte>, error)

 

static (Slice<Byte>, error) ReadFile(String fn)

 

static func ReadFile(_ fn: String) -> (Slice<Byte>, error)

 

func ReadFile(fn String) tuple of (Slice<Byte>, error)

 

Shared Function ReadFile(fn As String) As Tuple (Of Slice<Byte>, error)

Parameters:

  • fn:

TempDir

 

class method TempDir(dir: String; aPrefix: String): tuple of (string, error)

 

static (string, error) TempDir(String dir, String aPrefix)

 

static func TempDir(_ dir: String, _ aPrefix: String) -> (string, error)

 

func TempDir(dir String, aPrefix String) tuple of (string, error)

 

Shared Function TempDir(dir As String, aPrefix As String) As Tuple (Of string, error)

Parameters:

  • dir:
  • aPrefix:

TempFile

 

// .NET, .NET Standard 2.0
class method TempFile(dir: String; pattern: String): tuple of (Memory<File>, error)
// Island
class method TempFile(dir: String; pattern: String): tuple of (Memory<File>, error)

 

// .NET, .NET Standard 2.0
static (Memory<File>, error) TempFile(String dir, String pattern)
// Island
static (Memory<File>, error) TempFile(String dir, String pattern)

 

// .NET, .NET Standard 2.0
static func TempFile(_ dir: String, _ pattern: String) -> (Memory<File>, error)
// Island
static func TempFile(_ dir: String, _ pattern: String) -> (Memory<File>, error)

 

// .NET, .NET Standard 2.0
func TempFile(dir String, pattern String) tuple of (Memory<File>, error)
// Island
func TempFile(dir String, pattern String) tuple of (Memory<File>, error)

 

// .NET, .NET Standard 2.0
Shared Function TempFile(dir As String, pattern As String) As Tuple (Of Memory<File>, error)
// Island
Shared Function TempFile(dir As String, pattern As String) As Tuple (Of Memory<File>, error)

Parameters:

  • dir:
  • pattern:

WriteFile

 

class method WriteFile(filename: String; data: Slice<Byte>; per: FileMode): error

 

static error WriteFile(String filename, Slice<Byte> data, FileMode per)

 

static func WriteFile(_ filename: String, _ data: Slice<Byte>, _ per: FileMode) -> error

 

func WriteFile(filename String, data Slice<Byte>, per FileMode) error

 

Shared Function WriteFile(filename As String, data As Slice<Byte>, per As FileMode) As error

Parameters:

  • filename:
  • data:
  • per:

 

Discard

 

class var Discard: Writer;

 

static Writer Discard

 

static var Discard: Writer

 

Discard Writer

 

Shared FIELD Discard() As Writer

 

NopCloser

 

class method NopCloser(r: Reader): ReadCloser

 

static ReadCloser NopCloser(Reader r)

 

static func NopCloser(_ r: Reader) -> ReadCloser

 

func NopCloser(r Reader) ReadCloser

 

Shared Function NopCloser(r As Reader) As ReadCloser

Parameters:

  • r:

ReadAll

 

class method ReadAll(r: Reader): tuple of (Slice<Byte>, error)

 

static (Slice<Byte>, error) ReadAll(Reader r)

 

static func ReadAll(_ r: Reader) -> (Slice<Byte>, error)

 

func ReadAll(r Reader) tuple of (Slice<Byte>, error)

 

Shared Function ReadAll(r As Reader) As Tuple (Of Slice<Byte>, error)

Parameters:

  • r:

ReadDir

 

class method ReadDir(dir: String): tuple of (Slice<FileInfo>, error)

 

static (Slice<FileInfo>, error) ReadDir(String dir)

 

static func ReadDir(_ dir: String) -> (Slice<FileInfo>, error)

 

func ReadDir(dir String) tuple of (Slice<FileInfo>, error)

 

Shared Function ReadDir(dir As String) As Tuple (Of Slice<FileInfo>, error)

Parameters:

  • dir:

ReadFile

 

class method ReadFile(fn: String): tuple of (Slice<Byte>, error)

 

static (Slice<Byte>, error) ReadFile(String fn)

 

static func ReadFile(_ fn: String) -> (Slice<Byte>, error)

 

func ReadFile(fn String) tuple of (Slice<Byte>, error)

 

Shared Function ReadFile(fn As String) As Tuple (Of Slice<Byte>, error)

Parameters:

  • fn:

TempDir

 

class method TempDir(dir: String; aPrefix: String): tuple of (string, error)

 

static (string, error) TempDir(String dir, String aPrefix)

 

static func TempDir(_ dir: String, _ aPrefix: String) -> (string, error)

 

func TempDir(dir String, aPrefix String) tuple of (string, error)

 

Shared Function TempDir(dir As String, aPrefix As String) As Tuple (Of string, error)

Parameters:

  • dir:
  • aPrefix:

TempFile

 

// .NET, .NET Standard 2.0
class method TempFile(dir: String; pattern: String): tuple of (Memory<File>, error)
// Island
class method TempFile(dir: String; pattern: String): tuple of (Memory<File>, error)

 

// .NET, .NET Standard 2.0
static (Memory<File>, error) TempFile(String dir, String pattern)
// Island
static (Memory<File>, error) TempFile(String dir, String pattern)

 

// .NET, .NET Standard 2.0
static func TempFile(_ dir: String, _ pattern: String) -> (Memory<File>, error)
// Island
static func TempFile(_ dir: String, _ pattern: String) -> (Memory<File>, error)

 

// .NET, .NET Standard 2.0
func TempFile(dir String, pattern String) tuple of (Memory<File>, error)
// Island
func TempFile(dir String, pattern String) tuple of (Memory<File>, error)

 

// .NET, .NET Standard 2.0
Shared Function TempFile(dir As String, pattern As String) As Tuple (Of Memory<File>, error)
// Island
Shared Function TempFile(dir As String, pattern As String) As Tuple (Of Memory<File>, error)

Parameters:

  • dir:
  • pattern:

WriteFile

 

class method WriteFile(filename: String; data: Slice<Byte>; per: FileMode): error

 

static error WriteFile(String filename, Slice<Byte> data, FileMode per)

 

static func WriteFile(_ filename: String, _ data: Slice<Byte>, _ per: FileMode) -> error

 

func WriteFile(filename String, data Slice<Byte>, per FileMode) error

 

Shared Function WriteFile(filename As String, data As Slice<Byte>, per As FileMode) As error

Parameters:

  • filename:
  • data:
  • per: