NSCoder:decodeBytesForKey:returnedLength:
Home 目次>Foundation>NSCoder このサイトはこちらに移転しました。
10.2

decodeBytesForKey:returnedLength:

encodeBytes:length:forKey:と関連するキーでバイト値をデコードします


-(const uint8_t *) decodeBytesForKey:(NSString *)key
   returnedLength:(unsigned *)lengthp


【返り値】
   const uint8_t *なし
【パラメータ】
   key
   lengthp


【解説】

encodeBytes:length:forKey:と関連するキーでバイト値をデコードします。



【例文】


mPointer = [decoder decodeBytesForKey: @"key" returnedLength:&bBuffer];
//
unsigned length;
const uint8_t *data = [aCoder decodeBytesForKey: @"NSWhite" returnedLength: &length];


(C) 2000-2009 Satoshi Oomori.
[Apple]

Google
Webwww.oomori.com
Apple_Store_40x120

[ad:Usual day in Japan]

この記事を評価してください。 

良い 

間違いがある 説明がわかりにくい 例文がわかりにくい  

Home 目次>Foundation>NSCoder
修正日2006.12.26