Sha256: d3a114977e423f24e5b1328d210511484ee1e8fdd4607102cf60665f8417236d

Contents?: true

Size: 452 Bytes

Versions: 9

Compression:

Stored size: 452 Bytes

Contents

#ifndef SWIFT_ADAPTER_IO_H
#define SWIFT_ADAPTER_IO_H

#include "swift.h"

class AdapterIO : public dbi::IO {
    private:
      VALUE stream;
      std::string stringdata, empty;
    public:
      AdapterIO(VALUE);
      std::string& read();
      uint32_t     read(char *, uint32_t);

      void write(const char *);
      void write(const char *, uint64_t);

      void truncate();

      bool  readline(string&);
      char* readline();
};

#endif

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
swift-0.14.0 ext/adapter_io.h
swift-0.13.0 ext/adapter_io.h
swift-0.12.0 ext/adapter_io.h
swift-0.11.0 ext/adapter_io.h
swift-0.10.0 ext/adapter_io.h
swift-0.9.1 ext/adapter_io.h
swift-0.9.0 ext/adapter_io.h
swift-0.8.1 ext/adapter_io.h
swift-0.8.0 ext/adapter_io.h