示例#1
0
文件: sshclient.cpp 项目: aopui/gnash
// Write bytes to the already opened SSH connection
int
SSHClient::sshWrite(cygnal::Buffer &buf)
{
    GNASH_REPORT_FUNCTION;

    return sshWrite(buf.reference(), buf.allocated());
}
示例#2
0
文件: buffer.cpp 项目: jlopez/gnash
std::string
Buffer::hexify (cygnal::Buffer &buf, bool ascii)
{
    return gnash::hexify(buf.reference(), buf.allocated(), ascii);
}
示例#3
0
bool
DiskStream::writeToDisk(const std::string &filespec, cygnal::Buffer &data)
{
//    GNASH_REPORT_FUNCTION;
    return writeToDisk(filespec, data.reference(), data.allocated());
}
示例#4
0
文件: echo.cpp 项目: aopui/gnash
std::shared_ptr<cygnal::Buffer>
EchoTest::formatEchoResponse(double num, cygnal::Buffer &data)
{
//    GNASH_REPORT_FUNCTION;
    return formatEchoResponse(num, data.reference(), data.allocated());
}