Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

AbstractOctetArrayReadBuffer::OctetArrayBufferInput Class Reference

#include <coherence/io/AbstractOctetArrayReadBuffer.hpp>

Inherits AbstractReadBuffer::AbstractBufferInput.

List of all members.


Detailed Description

This is an implementation of the BufferInput interface on top of an octet array.

Author:
jh 2008.01.03

phf 2011.03.22

 

Public Types

typedef spec::Handle Handle
 OctetArrayBufferInput Handle definition.
typedef spec::View View
 OctetArrayBufferInput View definition.
typedef spec::Holder Holder
 OctetArrayBufferInput Holder definition.

Public Member Functions

virtual octet_t read ()
  
virtual void read (Array< octet_t >::Handle hab, size32_t of, size32_t cb)
  
virtual char16_t readChar16 ()
  
virtual int16_t readInt16 ()
  
virtual int32_t readInt32 ()
  
virtual int64_t readInt64 ()
  
virtual float32_t readFloat32 ()
  
virtual float64_t readFloat64 ()
  

Protected Member Functions

 OctetArrayBufferInput (AbstractOctetArrayReadBuffer::View vBuf)
 Create a new OctetArrayBufferInput instance that delegates to the given AbstractOctetArrayReadBuffer.
virtual String::View convertUTF (size32_t of, size32_t cb) const
 Convert a UTF-8 encoded section of the binary stream into a String.

Parameters:
 of the offset within the stream
 cb the length in bytes within the stream
Returns:
the String value
Exceptions:
 IOException on convertion error

Constructor & Destructor Documentation

OctetArrayBufferInput ( AbstractOctetArrayReadBuffer::View  vBuf  )  [protected]

Create a new OctetArrayBufferInput instance that delegates to the given AbstractOctetArrayReadBuffer.

Parameters:
 vBuf the delegate ReadBuffer


The documentation for this class was generated from the following file:
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.