#include "ycp/YCPBuiltinByteblock.h"#include "ycp/YCPByteblock.h"#include "ycp/YCPInteger.h"#include "ycp/StaticDeclaration.h"Defines | |
| #define | ETC 0, NULL, constTypePtr(), NULL |
| #define | ETCf NULL, constTypePtr(), NULL |
Functions | |
| static YCPValue | b_tobyteblock (const YCPValue &v) |
| static YCPValue | b_size (const YCPByteblock &v) |
Variables | |
| StaticDeclaration | static_declarations |
| #define ETC 0, NULL, constTypePtr(), NULL |
| #define ETCf NULL, constTypePtr(), NULL |
| static YCPValue b_size | ( | const YCPByteblock & | v | ) | [static] |
size size-byteblock Returns a size of a byteblock in bytes.
| byteblock | VALUE |
References YCPElement::isNull().
Referenced by Process::readStderrToBuffer(), Process::readStdoutToBuffer(), and YCPBuiltinByteblock::YCPBuiltinByteblock().
tobyteblock Converts a value to a byteblock.
If the value can't be converted to a byteblock, nilbyteblock is returned.
| any | VALUE |
References YCPElement::isNull(), and YT_BYTEBLOCK.
Referenced by YCPBuiltinByteblock::YCPBuiltinByteblock().
1.6.3