Show / Hide Table of Contents

Struct Blittable<T>

Represents a value of blittable type as IBinaryFormattable<TSelf>.

Implements
IBinaryFormattable<Blittable<T>>
Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: DotNext.Buffers.Binary
Assembly: DotNext.dll
Syntax
public struct Blittable<T> : IBinaryFormattable<Blittable<T>> where T : unmanaged
Type Parameters
Name Description
T

The blittable type.

Fields

View Source

Value

A value of blittable type.

Declaration
public required T Value
Field Value
Type Description
T

Methods

View Source

ToString()

Declaration
public override readonly string? ToString()
Returns
Type Description
string
Overrides
ValueType.ToString()

Implements

IBinaryFormattable<TSelf>

Extension Methods

BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
BinaryTransformations.Format<T>(T, MemoryAllocator<byte>?)
BinaryTransformations.TryFormat<T>(T, Span<byte>)
Enumerator.Skip<TEnumerator, T>(ref TEnumerator, int)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾