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
immediately show up in the buffer.
!*/
std::istream& seekg (
std::streampos pos
vectorstream (
std::vector<int8_t>& buffer
);
/*!
ensures
- The next read from this object will read from the position buffer[pos],
where buffer is the std::vector given to this object's constructor. Note
that if pos >= buffer.size() then the next read will simply return EOF.
- returns *this
- This constructor has the same contract as the previous constructor
except the buffer is now std::vector<int8_t>
!*/
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