FixedSizeBuffers

Class FixedSizeBuffer64<T>

A fixed size buffer of length 64.

Inheritance
Implements
Declaration
public sealed class FixedSizeBuffer64<T> : ValueType, IFixedSizeBuffer<T>, IDisposable
Type Parameters
Name Description

T

The type of the elements in the buffer

Fields

Item1

A slot in the buffer

Declaration
public T Item1
Field Value
Type Description

T

Item10

A slot in the buffer

Declaration
public T Item10
Field Value
Type Description

T

Item11

A slot in the buffer

Declaration
public T Item11
Field Value
Type Description

T

Item12

A slot in the buffer

Declaration
public T Item12
Field Value
Type Description

T

Item13

A slot in the buffer

Declaration
public T Item13
Field Value
Type Description

T

Item14

A slot in the buffer

Declaration
public T Item14
Field Value
Type Description

T

Item15

A slot in the buffer

Declaration
public T Item15
Field Value
Type Description

T

Item16

A slot in the buffer

Declaration
public T Item16
Field Value
Type Description

T

Item17

A slot in the buffer

Declaration
public T Item17
Field Value
Type Description

T

Item18

A slot in the buffer

Declaration
public T Item18
Field Value
Type Description

T

Item19

A slot in the buffer

Declaration
public T Item19
Field Value
Type Description

T

Item2

A slot in the buffer

Declaration
public T Item2
Field Value
Type Description

T

Item20

A slot in the buffer

Declaration
public T Item20
Field Value
Type Description

T

Item21

A slot in the buffer

Declaration
public T Item21
Field Value
Type Description

T

Item22

A slot in the buffer

Declaration
public T Item22
Field Value
Type Description

T

Item23

A slot in the buffer

Declaration
public T Item23
Field Value
Type Description

T

Item24

A slot in the buffer

Declaration
public T Item24
Field Value
Type Description

T

Item25

A slot in the buffer

Declaration
public T Item25
Field Value
Type Description

T

Item26

A slot in the buffer

Declaration
public T Item26
Field Value
Type Description

T

Item27

A slot in the buffer

Declaration
public T Item27
Field Value
Type Description

T

Item28

A slot in the buffer

Declaration
public T Item28
Field Value
Type Description

T

Item29

A slot in the buffer

Declaration
public T Item29
Field Value
Type Description

T

Item3

A slot in the buffer

Declaration
public T Item3
Field Value
Type Description

T

Item30

A slot in the buffer

Declaration
public T Item30
Field Value
Type Description

T

Item31

A slot in the buffer

Declaration
public T Item31
Field Value
Type Description

T

Item32

A slot in the buffer

Declaration
public T Item32
Field Value
Type Description

T

Item33

A slot in the buffer

Declaration
public T Item33
Field Value
Type Description

T

Item34

A slot in the buffer

Declaration
public T Item34
Field Value
Type Description

T

Item35

A slot in the buffer

Declaration
public T Item35
Field Value
Type Description

T

Item36

A slot in the buffer

Declaration
public T Item36
Field Value
Type Description

T

Item37

A slot in the buffer

Declaration
public T Item37
Field Value
Type Description

T

Item38

A slot in the buffer

Declaration
public T Item38
Field Value
Type Description

T

Item39

A slot in the buffer

Declaration
public T Item39
Field Value
Type Description

T

Item4

A slot in the buffer

Declaration
public T Item4
Field Value
Type Description

T

Item40

A slot in the buffer

Declaration
public T Item40
Field Value
Type Description

T

Item41

A slot in the buffer

Declaration
public T Item41
Field Value
Type Description

T

Item42

A slot in the buffer

Declaration
public T Item42
Field Value
Type Description

T

Item43

A slot in the buffer

Declaration
public T Item43
Field Value
Type Description

T

Item44

A slot in the buffer

Declaration
public T Item44
Field Value
Type Description

T

Item45

A slot in the buffer

Declaration
public T Item45
Field Value
Type Description

T

Item46

A slot in the buffer

Declaration
public T Item46
Field Value
Type Description

T

Item47

A slot in the buffer

Declaration
public T Item47
Field Value
Type Description

T

Item48

A slot in the buffer

Declaration
public T Item48
Field Value
Type Description

T

Item49

A slot in the buffer

Declaration
public T Item49
Field Value
Type Description

T

Item5

A slot in the buffer

Declaration
public T Item5
Field Value
Type Description

T

Item50

A slot in the buffer

Declaration
public T Item50
Field Value
Type Description

T

Item51

A slot in the buffer

Declaration
public T Item51
Field Value
Type Description

T

Item52

A slot in the buffer

Declaration
public T Item52
Field Value
Type Description

T

Item53

A slot in the buffer

Declaration
public T Item53
Field Value
Type Description

T

Item54

A slot in the buffer

Declaration
public T Item54
Field Value
Type Description

T

Item55

A slot in the buffer

Declaration
public T Item55
Field Value
Type Description

T

Item56

A slot in the buffer

Declaration
public T Item56
Field Value
Type Description

T

Item57

A slot in the buffer

Declaration
public T Item57
Field Value
Type Description

T

Item58

A slot in the buffer

Declaration
public T Item58
Field Value
Type Description

T

Item59

A slot in the buffer

Declaration
public T Item59
Field Value
Type Description

T

Item6

A slot in the buffer

Declaration
public T Item6
Field Value
Type Description

T

Item60

A slot in the buffer

Declaration
public T Item60
Field Value
Type Description

T

Item61

A slot in the buffer

Declaration
public T Item61
Field Value
Type Description

T

Item62

A slot in the buffer

Declaration
public T Item62
Field Value
Type Description

T

Item63

A slot in the buffer

Declaration
public T Item63
Field Value
Type Description

T

Item64

A slot in the buffer

Declaration
public T Item64
Field Value
Type Description

T

Item7

A slot in the buffer

Declaration
public T Item7
Field Value
Type Description

T

Item8

A slot in the buffer

Declaration
public T Item8
Field Value
Type Description

T

Item9

A slot in the buffer

Declaration
public T Item9
Field Value
Type Description

T

Properties

Item[Int32]

Gets or sets the element at offset index.

Declaration
public T this[int index] { get; set; }
Parameters
Type Name Description

Int32

index

The index

Property Value
Type Description

T

The element at offset index.

Exceptions
Type Condition

ArgumentOutOfRangeException

The index was outside the bounds of the buffer

Methods

AsReadOnlySpan()

Returns a ReadOnlySpan<T> representing the buffer.

This method is unsafe. You must ensure the ReadOnlySpan<T> does not outlive the buffer itself.

Declaration
public ReadOnlySpan<T> AsReadOnlySpan()
Returns
Type Description

ReadOnlySpan<T>

A ReadOnlySpan<T> representing the buffer.

AsSpan()

Returns a Span<T> representing the buffer.

This method is unsafe. You must ensure the Span<T> does not outlive the buffer itself.

Declaration
public Span<T> AsSpan()
Returns
Type Description

Span<T>

A Span<T> representing the buffer.

Dispose()

Call this method when you've finished using the buffer.

Technically this method is a no-op, but calling it ensures that the buffer is not deallocated before you've finished working with it.

Declaration
public void Dispose()

Implements

IFixedSizeBuffer<T>
System.IDisposable

Extension Methods

FixedSizeBufferExtensions.ItemRef<T>(ref FixedSizeBuffer64<T>, Int32)