+ case BUNDLE_TYPE_BYTE:
+ bundle_keyval_get_basic_val(const_cast<bundle_keyval_t*>(pVal), reinterpret_cast<void**>(&pStr), &size);
+
+ SysLog(NID_IO, "Bundle byte value = %s, size = %d", pStr, size);
+
+ if (pStr)
+ {
+ ByteBuffer* pBuffer = new (std::nothrow) ByteBuffer();
+ SysTryLog(NID_IO, pBuffer != null, "The memory is insufficient.");
+ result r = pBuffer->Construct(size);
+ SysTryLog(NID_IO, r == E_SUCCESS, "Constructing pBuffer is failed.");
+
+ r = pBuffer->SetArray((const byte*)pStr, 0, size);
+ SysTryLog(NID_IO, r == E_SUCCESS, "SetArray()for ByteBuffer is failed.");
+
+ pBuffer->Flip();
+
+ pMap->Add(new (std::nothrow) String(pKey), pBuffer);
+ }
+ break;