Gemstone Security Library
Show/Hide TOC

# ZeroedBuffer T Class

Represents a buffer that is zeroed when disposed.

## Definition

Namespace: Gemstone.Security.Cryptography
Assembly: Gemstone.Security (in Gemstone.Security.dll) Version: 1.0.158 -- Release Build+67f4788dca8daac9e24668505947964b66330ea8
C#
View Source Request Example

    public sealed class ZeroedBuffer<T> : IDisposable

VB
View Source Request Example

    Public NotInheritable Class ZeroedBuffer(Of T)
    	Implements IDisposable

C++
View Source Request Example

    generic<typename T>
    public ref class ZeroedBuffer sealed : IDisposable

JavaScript
View Source Request Example

    JavaScript does not support generic types or methods.

Inheritance
  Object ZeroedBufferT

Implements
  IDisposable

#### Type Parameters

T

  [Missing <typeparam name="T"/> documentation for "T:Gemstone.Security.Cryptography.ZeroedBuffer`1"]

## Remarks

Initializes a new instance of the ZeroedBufferT class.

If type T is a reference type, the buffer will be zeroed by setting all elements to null.

## Constructors

ZeroedBufferT | Represents a buffer that is zeroed when disposed.

## Properties

Buffer | Gets the buffer array instance.
Item | Accesses element in the ZeroedBufferT> by reference.

## Methods

Dispose | Zero buffer and release resources.
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
ToString | Returns a string that represents the current object. (Inherited from Object)

## See Also

#### Reference

Gemstone.Security.Cryptography Namespace