MCPcopy Create free account
hub / github.com/davisking/dlib / pack_byte

Function pack_byte

dlib/serialize.h:585–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583
584 template <typename T>
585 inline bool pack_byte (
586 const T& ch,
587 std::ostream& out
588 )
589 {
590 std::streambuf* sbuf = out.rdbuf();
591 return (sbuf->sputc((char)ch) == EOF);
592 }
593
594 template <typename T>
595 inline bool unpack_byte (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected