FixedSizeBuffers

Class FixedSizeBuffer128<T>

A fixed size buffer of length 128.

Inheritance
  • Object
  • FixedSizeBuffer128<T>
Implements
Declaration
public sealed class FixedSizeBuffer128<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

Item100

A slot in the buffer

Declaration
public T Item100
Field Value
Type Description

T

Item101

A slot in the buffer

Declaration
public T Item101
Field Value
Type Description

T

Item102

A slot in the buffer

Declaration
public T Item102
Field Value
Type Description

T

Item103

A slot in the buffer

Declaration
public T Item103
Field Value
Type Description

T

Item104

A slot in the buffer

Declaration
public T Item104
Field Value
Type Description

T

Item105

A slot in the buffer

Declaration
public T Item105
Field Value
Type Description

T

Item106

A slot in the buffer

Declaration
public T Item106
Field Value
Type Description

T

Item107

A slot in the buffer

Declaration
public T Item107
Field Value
Type Description

T

Item108

A slot in the buffer

Declaration
public T Item108
Field Value
Type Description

T

Item109

A slot in the buffer

Declaration
public T Item109
Field Value
Type Description

T

Item11

A slot in the buffer

Declaration
public T Item11
Field Value
Type Description

T

Item110

A slot in the buffer

Declaration
public T Item110
Field Value
Type Description

T

Item111

A slot in the buffer

Declaration
public T Item111
Field Value
Type Description

T

Item112

A slot in the buffer

Declaration
public T Item112
Field Value
Type Description

T

Item113

A slot in the buffer

Declaration
public T Item113
Field Value
Type Description

T

Item114

A slot in the buffer

Declaration
public T Item114
Field Value
Type Description

T

Item115

A slot in the buffer

Declaration
public T Item115
Field Value
Type Description

T

Item116

A slot in the buffer

Declaration
public T Item116
Field Value
Type Description

T

Item117

A slot in the buffer

Declaration
public T Item117
Field Value
Type Description

T

Item118

A slot in the buffer

Declaration
public T Item118
Field Value
Type Description

T

Item119

A slot in the buffer

Declaration
public T Item119
Field Value
Type Description

T

Item12

A slot in the buffer

Declaration
public T Item12
Field Value
Type Description

T

Item120

A slot in the buffer

Declaration
public T Item120
Field Value
Type Description

T

Item121

A slot in the buffer

Declaration
public T Item121
Field Value
Type Description

T

Item122

A slot in the buffer

Declaration
public T Item122
Field Value
Type Description

T

Item123

A slot in the buffer

Declaration
public T Item123
Field Value
Type Description

T

Item124

A slot in the buffer

Declaration
public T Item124
Field Value
Type Description

T

Item125

A slot in the buffer

Declaration
public T Item125
Field Value
Type Description

T

Item126

A slot in the buffer

Declaration
public T Item126
Field Value
Type Description

T

Item127

A slot in the buffer

Declaration
public T Item127
Field Value
Type Description

T

Item128

A slot in the buffer

Declaration
public T Item128
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

Item65

A slot in the buffer

Declaration
public T Item65
Field Value
Type Description

T

Item66

A slot in the buffer

Declaration
public T Item66
Field Value
Type Description

T

Item67

A slot in the buffer

Declaration
public T Item67
Field Value
Type Description

T

Item68

A slot in the buffer

Declaration
public T Item68
Field Value
Type Description

T

Item69

A slot in the buffer

Declaration
public T Item69
Field Value
Type Description

T

Item7

A slot in the buffer

Declaration
public T Item7
Field Value
Type Description

T

Item70

A slot in the buffer

Declaration
public T Item70
Field Value
Type Description

T

Item71

A slot in the buffer

Declaration
public T Item71
Field Value
Type Description

T

Item72

A slot in the buffer

Declaration
public T Item72
Field Value
Type Description

T

Item73

A slot in the buffer

Declaration
public T Item73
Field Value
Type Description

T

Item74

A slot in the buffer

Declaration
public T Item74
Field Value
Type Description

T

Item75

A slot in the buffer

Declaration
public T Item75
Field Value
Type Description

T

Item76

A slot in the buffer

Declaration
public T Item76
Field Value
Type Description

T

Item77

A slot in the buffer

Declaration
public T Item77
Field Value
Type Description

T

Item78

A slot in the buffer

Declaration
public T Item78
Field Value
Type Description

T

Item79

A slot in the buffer

Declaration
public T Item79
Field Value
Type Description

T

Item8

A slot in the buffer

Declaration
public T Item8
Field Value
Type Description

T

Item80

A slot in the buffer

Declaration
public T Item80
Field Value
Type Description

T

Item81

A slot in the buffer

Declaration
public T Item81
Field Value
Type Description

T

Item82

A slot in the buffer

Declaration
public T Item82
Field Value
Type Description

T

Item83

A slot in the buffer

Declaration
public T Item83
Field Value
Type Description

T

Item84

A slot in the buffer

Declaration
public T Item84
Field Value
Type Description

T

Item85

A slot in the buffer

Declaration
public T Item85
Field Value
Type Description

T

Item86

A slot in the buffer

Declaration
public T Item86
Field Value
Type Description

T

Item87

A slot in the buffer

Declaration
public T Item87
Field Value
Type Description

T

Item88

A slot in the buffer

Declaration
public T Item88
Field Value
Type Description

T

Item89

A slot in the buffer

Declaration
public T Item89
Field Value
Type Description

T

Item9

A slot in the buffer

Declaration
public T Item9
Field Value
Type Description

T

Item90

A slot in the buffer

Declaration
public T Item90
Field Value
Type Description

T

Item91

A slot in the buffer

Declaration
public T Item91
Field Value
Type Description

T

Item92

A slot in the buffer

Declaration
public T Item92
Field Value
Type Description

T

Item93

A slot in the buffer

Declaration
public T Item93
Field Value
Type Description

T

Item94

A slot in the buffer

Declaration
public T Item94
Field Value
Type Description

T

Item95

A slot in the buffer

Declaration
public T Item95
Field Value
Type Description

T

Item96

A slot in the buffer

Declaration
public T Item96
Field Value
Type Description

T

Item97

A slot in the buffer

Declaration
public T Item97
Field Value
Type Description

T

Item98

A slot in the buffer

Declaration
public T Item98
Field Value
Type Description

T

Item99

A slot in the buffer

Declaration
public T Item99
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 FixedSizeBuffer128<T>, Int32)