Berkeley DB Reference Guide:
Access Methods

PrevRefNext

Data alignment

The Berkeley DB access methods provide no guarantees about byte alignment for returned key/data pairs, or callback functions which take DBT references as arguments, and applications are responsible for arranging any necessary alignment. The DB_DBT_MALLOC, DB_DBT_REALLOC and DB_DBT_USERMEM flags may be used to store returned items in memory of arbitrary alignment.

(¿¢¼¼½º¸Þ¼Òµå¿Í DBT¸¦ ÀÎÀÚ·Î ¹Þ´Â ÇÔ¼ö´Â ¸®ÅÏµÈ Å°/µ¥ÀÌŸ½ÖÀÇ ¹ÙÀÌÆ®Á¤·ÄÀ» º¸ÀåÇÏÁö ¾Ê´Â´Ù.ÀÌ°ÍÀº ¾ÖÇø®ÄÉÀ̼ÇÀÇ Ã¥ÀÓÀÌ´Ù.)


PrevRefNext

Copyright (c) 1996-2003 Sleepycat Software, Inc. - All rights reserved.