Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
1b58bdc2
Unverified
Commit
1b58bdc2
authored
Feb 13, 2021
by
pfeatherstone
Committed by
GitHub
Feb 12, 2021
Browse files
[SERIALIZATION] updated _abstract file (#2306)
Co-authored-by:
pf
<
pf@pf-ubuntu-dev
>
parent
479b69e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
8 deletions
+14
-8
dlib/vectorstream/vectorstream_abstract.h
dlib/vectorstream/vectorstream_abstract.h
+14
-8
No files found.
dlib/vectorstream/vectorstream_abstract.h
View file @
1b58bdc2
...
...
@@ -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>
!*/
};
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment