C# Class UtfString.Slices.ReadOnlySpan

https://github.com/dotnet/corefxlab/blob/master/src/System.Slices/System/Span.cs もどき。 簡単化のために byte[] 限定に変更。
Mostrar archivo Open project: ufcpp/UfcppSample

Public Methods

Method Description
GetEnumerator ( ) : Enumerator
ReadOnlySpan ( byte array )
ReadOnlySpan ( byte array, int index )
ReadOnlySpan ( byte array, int index, int length )
Slice ( int index ) : ReadOnlySpan
Slice ( int index, int length ) : ReadOnlySpan
this ( int index ) : byte

Method Details

GetEnumerator() public method

public GetEnumerator ( ) : Enumerator
return Enumerator

ReadOnlySpan() public method

public ReadOnlySpan ( byte array )
array byte

ReadOnlySpan() public method

public ReadOnlySpan ( byte array, int index )
array byte
index int

ReadOnlySpan() public method

public ReadOnlySpan ( byte array, int index, int length )
array byte
index int
length int

Slice() public method

public Slice ( int index ) : ReadOnlySpan
index int
return ReadOnlySpan

Slice() public method

public Slice ( int index, int length ) : ReadOnlySpan
index int
length int
return ReadOnlySpan

this() public method

public this ( int index ) : byte
index int
return byte