Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.MultiMemory Struct Reference

Public Member Functions

Memory< byte > GetBlock (int blockIndex)
 
System.Net.MultiMemory Slice (int start, int length)
 
void CopyTo (Span< byte > destination)
 
void CopyFrom (ReadOnlySpan< byte > source)
 
Memory< byte > GetBlock (int blockIndex)
 
MultiMemory Slice (int start, int length)
 
void CopyTo (Span< byte > destination)
 
void CopyFrom (ReadOnlySpan< byte > source)
 

Package Functions

 MultiMemory (byte[][] blocks, uint start, uint length)
 
 MultiMemory (byte[][] blocks, uint start, uint length)
 

Properties

int Length [get]
 
int BlockCount [get]
 

Static Private Member Functions

static uint GetBlockIndex (uint offset)
 
static uint GetOffsetInBlock (uint offset)
 
static uint GetBlockIndex (uint offset)
 
static uint GetOffsetInBlock (uint offset)
 

Private Attributes

readonly byte[][] _blocks
 
readonly uint _start
 
readonly uint _length
 

Detailed Description

Definition at line 6 of file MultiMemory.cs.


The documentation for this struct was generated from the following files: