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

List of all members.

Public Member Functions

object Create (object reuse)
 Creates a new array object. The initial size of the object could be anything.
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.
void Resize (ref object array, int targetSize)
 Resizes the array to the new value.
void AddElements (object array, int elements, int index, ReadItem itemReader, Decoder decoder, bool reuse)

template<T>
interface Avro::Generic::PreresolvingDatumReader< T >::ArrayAccess


Member Function Documentation

template<T >
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
template<T >
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.
template<T >
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:
 All Classes Namespaces Functions Variables Enumerations Properties