Reformat per new coding guidelines.

Change-Id: Ib0e5d3a6fabe6db414d72b334ca7a7f33bc5726b
This commit is contained in:
Peter Johnson
2015-06-25 22:57:43 -07:00
parent f5a82be9e5
commit cee77a3228
26 changed files with 1296 additions and 1576 deletions

View File

@@ -9,20 +9,14 @@
#include <cstring>
using namespace NtImpl;
using namespace ntimpl;
void
raw_istream::anchor()
{
}
void raw_istream::anchor() {}
bool
raw_mem_istream::read(void* data, std::size_t len)
{
if (len > m_left)
return false;
std::memcpy(data, m_cur, len);
m_cur += len;
m_left -= len;
return true;
bool raw_mem_istream::read(void* data, std::size_t len) {
if (len > m_left) return false;
std::memcpy(data, m_cur, len);
m_cur += len;
m_left -= len;
return true;
}