YCPBuiltinByteblock.cc File Reference

#include "ycp/YCPBuiltinByteblock.h"
#include "ycp/YCPByteblock.h"
#include "ycp/YCPInteger.h"
#include "ycp/StaticDeclaration.h"

Functions

static YCPValue b_tobyteblock (const YCPValue &v)
static YCPValue b_size (const YCPByteblock &v)

Variables

StaticDeclaration static_declarations

Function Documentation

static YCPValue b_size ( const YCPByteblock v  )  [static]

size Returns a size of a byteblock in bytes.

Parameters:
byteblock VALUE
Returns:
integer size(#[03A6f298B5]) -> 5

static YCPValue b_tobyteblock ( const YCPValue v  )  [static]

tobyteblock Converts a value to a byteblock.

If the value can't be converted to a byteblock, nilbyteblock is returned.

Parameters:
any VALUE
Returns:
byteblock


Variable Documentation

StaticDeclaration static_declarations


Generated on Tue Nov 6 01:27:47 2007 for yast2-core by  doxygen 1.5.3