Avro C#
 All Classes Namespaces Functions Variables Enumerations Properties
Public Member Functions | List of all members
Avro.Generic.PreresolvingDatumReader< T >.ArrayAccess Interface Reference

Public Member Functions

object Create (object reuse)
 Creates a new array object. The initial size of the object could be anything. More...
 
void EnsureSize (ref object array, int targetSize)
 Hint that the array should be able to handle at least targetSize elements. The array is not required to be resized More...
 
void Resize (ref object array, int targetSize)
 Resizes the array to the new value. More...
 
void AddElements (object array, int elements, int index, ReadItem itemReader, Decoder decoder, bool reuse)
 

Member Function Documentation

object Avro.Generic.PreresolvingDatumReader< T >.ArrayAccess.Create ( object  reuse)

Creates a new array object. The initial size of the object could be anything.

Parameters
reuseIf appropriate use this instead of creating a new one.
Returns
An object suitable to deserialize an avro array
void Avro.Generic.PreresolvingDatumReader< T >.ArrayAccess.EnsureSize ( ref object  array,
int  targetSize 
)

Hint that the array should be able to handle at least targetSize elements. The array is not required to be resized

Parameters
arrayArray object who needs to support targetSize elements. This is guaranteed to be somthing returned by a previous call to CreateArray().
targetSizeThe new size.
void Avro.Generic.PreresolvingDatumReader< T >.ArrayAccess.Resize ( ref object  array,
int  targetSize 
)

Resizes the array to the new value.

Parameters
arrayArray object whose size is required. This is guaranteed to be somthing returned by a previous call to CreateArray().
targetSizeThe new size.

The documentation for this interface was generated from the following file: