Networking TS

PrevUpHomeNext

read

Attempt to read a certain amount of data from a stream before returning.

template<
    typename SyncReadStream,
    typename MutableBufferSequence>
std::size_t read(
    SyncReadStream & s,
    const MutableBufferSequence & buffers,
    typename enable_if< is_mutable_buffer_sequence< MutableBufferSequence >::value >::type *  = 0);
  » more...

template<
    typename SyncReadStream,
    typename MutableBufferSequence>
std::size_t read(
    SyncReadStream & s,
    const MutableBufferSequence & buffers,
    std::error_code & ec,
    typename enable_if< is_mutable_buffer_sequence< MutableBufferSequence >::value >::type *  = 0);
  » more...

template<
    typename SyncReadStream,
    typename MutableBufferSequence,
    typename CompletionCondition>
std::size_t read(
    SyncReadStream & s,
    const MutableBufferSequence & buffers,
    CompletionCondition completion_condition,
    typename enable_if< is_mutable_buffer_sequence< MutableBufferSequence >::value >::type *  = 0);
  » more...

template<
    typename SyncReadStream,
    typename MutableBufferSequence,
    typename CompletionCondition>
std::size_t read(
    SyncReadStream & s,
    const MutableBufferSequence & buffers,
    CompletionCondition completion_condition,
    std::error_code & ec,
    typename enable_if< is_mutable_buffer_sequence< MutableBufferSequence >::value >::type *  = 0);
  » more...

template<
    typename SyncReadStream,
    typename DynamicBuffer>
std::size_t read(
    SyncReadStream & s,
    DynamicBuffer && buffers,
    typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type *  = 0);
  » more...

template<
    typename SyncReadStream,
    typename DynamicBuffer>
std::size_t read(
    SyncReadStream & s,
    DynamicBuffer && buffers,
    std::error_code & ec,
    typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type *  = 0);
  » more...

template<
    typename SyncReadStream,
    typename DynamicBuffer,
    typename CompletionCondition>
std::size_t read(
    SyncReadStream & s,
    DynamicBuffer && buffers,
    CompletionCondition completion_condition,
    typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type *  = 0);
  » more...

template<
    typename SyncReadStream,
    typename DynamicBuffer,
    typename CompletionCondition>
std::size_t read(
    SyncReadStream & s,
    DynamicBuffer && buffers,
    CompletionCondition completion_condition,
    std::error_code & ec,
    typename enable_if< is_dynamic_buffer< DynamicBuffer >::value >::type *  = 0);
  » more...

PrevUpHomeNext