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
...@@ -43,17 +43,23 @@ namespace dlib ...@@ -43,17 +43,23 @@ namespace dlib
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