Unverified Commit 1b58bdc2 authored by pfeatherstone's avatar pfeatherstone Committed by GitHub
Browse files

[SERIALIZATION] updated _abstract file (#2306)


Co-authored-by: default avatarpf <pf@pf-ubuntu-dev>
parent 479b69e6
...@@ -42,18 +42,24 @@ namespace dlib ...@@ -42,18 +42,24 @@ namespace dlib
be used. Therefore, any time data is written to this stream it will be used. Therefore, any time data is written to this stream it will
immediately show up in the buffer. immediately show up in the buffer.
!*/ !*/
std::istream& seekg ( vectorstream (
std::streampos pos std::vector<int8_t>& buffer
); );
/*! /*!
ensures ensures
- The next read from this object will read from the position buffer[pos], - This constructor has the same contract as the previous constructor
where buffer is the std::vector given to this object's constructor. Note except the buffer is now std::vector<int8_t>
that if pos >= buffer.size() then the next read will simply return EOF. !*/
- returns *this
vectorstream (
std::vector<uint8_t>& buffer
);
/*!
ensures
- This constructor has the same contract as the previous constructor
except the buffer is now std::vector<uint8_t>
!*/ !*/
}; };
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment