Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
NSDataオブジェクトを小さな部分に分割して、Bluetooth経由で送信できるようにする方法がわかりません。私はそれがこれに似た方法だと信じています:
- (void)getBytes:(void *)buffer range:(NSRange)range
バッファに何を渡すかわかりません。元のNSDataから引き出したバイトを保持するためにNSMutableDataオブジェクトを渡すだけですか?
ありがとう
この方法を使用できます-subdataWithRange:。
-subdataWithRange: