Table of Contents

Struct Size

Namespace
Npgsql.Internal
Assembly
Npgsql.dll
public readonly struct Size : IEquatable<Size>
Implements
Inherited Members

Properties

Kind

public SizeKind Kind { get; }

Property Value

SizeKind

Unknown

public static Size Unknown { get; }

Property Value

Size

Value

public int Value { get; }

Property Value

int

Zero

public static Size Zero { get; }

Property Value

Size

Methods

Combine(Size)

public Size Combine(Size result)

Parameters

result Size

Returns

Size

Create(int)

public static Size Create(int byteCount)

Parameters

byteCount int

Returns

Size

CreateUpperBound(int)

public static Size CreateUpperBound(int byteCount)

Parameters

byteCount int

Returns

Size

Equals(Size)

public bool Equals(Size other)

Parameters

other Size

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(Size, Size)

public static bool operator ==(Size left, Size right)

Parameters

left Size
right Size

Returns

bool

implicit operator Size(int)

public static implicit operator Size(int value)

Parameters

value int

Returns

Size

operator !=(Size, Size)

public static bool operator !=(Size left, Size right)

Parameters

left Size
right Size

Returns

bool