# Struct SizeContext

Namespace
  Npgsql.Internal

Assembly
  Npgsql.dll

    public readonly struct SizeContext

Inherited Members
  ValueType.Equals(object)
  ValueType.GetHashCode()
  ValueType.ToString()
  object.Equals(object, object)
  object.GetType()
  object.ReferenceEquals(object, object)

## Constructors

### SizeContext(DataFormat, Size)

    [SetsRequiredMembers]
    public SizeContext(DataFormat format, Size bufferRequirement)

#### Parameters

`format` DataFormat
`bufferRequirement` Size

## Properties

### BufferRequirement

    public required Size BufferRequirement { get; init; }

#### Property Value

Size

### Format

    public DataFormat Format { get; }

#### Property Value

DataFormat