Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

EndianReader Class Reference

Inheritance diagram for EndianReader:

Reader List of all members.

Public Member Functions

 this (IBuffer buffer)
char[] toString ()
void bits16 (void *dst, uint count)
void bits32 (void *dst, uint count)
void bits64 (void *dst, uint count)
void bits80 (void *dst, uint count)

Private Member Functions

 this (IConduit conduit)
 this (IReader reader)
void read (void *dst, uint count)

Static Private Member Functions

 this ()

Detailed Description

A pair of classes to handle byte-swapping for integral types. The basic EndianReader is transparent, whilst EndianReaderSwap is not.

Use the static create() method to construct the appropriate reader.

Definition at line 51 of file EndianReader.d.


Member Function Documentation

this IBuffer  buffer  )  [inline]
 

Construct EndianReader upon the given IBuffer.

Reimplemented from Reader.

Definition at line 59 of file EndianReader.d.

References bits16(), bits32(), bits64(), and bits80().

char [] toString  )  [inline]
 

Return the name of this reader

Reimplemented from Reader.

Definition at line 83 of file EndianReader.d.

void bits16 void *  dst,
uint  count
[inline]
 

Definition at line 92 of file EndianReader.d.

References Reader::read().

Referenced by this().

void bits32 void *  dst,
uint  count
[inline]
 

Definition at line 102 of file EndianReader.d.

References Reader::read().

Referenced by this().

void bits64 void *  dst,
uint  count
[inline]
 

Definition at line 112 of file EndianReader.d.

References Reader::read().

Referenced by this().

void bits80 void *  dst,
uint  count
[inline]
 

Definition at line 122 of file EndianReader.d.

References Reader::read().

Referenced by this().

this IConduit  conduit  )  [inline, inherited]
 

Construct a reader on the buffer belonging to the given conduit.

Definition at line 126 of file Reader.d.

this  )  [inline, static, inherited]
 

Construct a couple of static exception instances.

Definition at line 165 of file AbstractReader.d.

References AbstractReader::eof, and AbstractReader::udf.

this IReader  reader  )  [inline, inherited]
 

Definition at line 57 of file ArrayAllocator.d.

void read void *  dst,
uint  count
[inline, inherited]
 

Definition at line 144 of file Reader.d.

References IBuffer::get(), IBuffer::getConduit(), and IBuffer::readable().

Referenced by bits16(), bits32(), bits64(), and bits80().


The documentation for this class was generated from the following file:
Generated on Sun Nov 7 19:07:01 2004 for Mango by doxygen 1.3.6