Changeset 511

Show
Ignore:
Timestamp:
04/10/06 16:07:51 (3 years ago)
Author:
dp
Message:

service-gotek2:

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • library/trunk/modules/service-gotek2/GotekPacket.cpp

    r510 r511  
    114114 
    115115 
     116void GotekPacket::writeRaw(void const *p, uint32_t s) 
     117{ 
     118        checkBadness(); 
     119        assumeWrite(); 
     120 
     121        m_data.append((const char *)p, s); 
     122} 
     123 
     124 
    116125void GotekPacket::writeString(string const& s) 
    117126{ 
  • library/trunk/modules/service-gotek2/GotekPacket.hpp

    r508 r511  
    55#include <inttypes.h> 
    66#include <string> 
    7  
    87 
    98namespace library 
     
    2423 
    2524                void                                    writeRaw(string const& r); 
     25                void                                    writeRaw(void const *p, uint32_t s); 
    2626                void                                    writeString(string const& s); 
    2727                void                                    writeUInt8(uint8_t i);