title: reading and writing data to streams as raw data?
body: <p>I've opened the following input and output streams through the External Accessory Framework:</p>
  
  <pre><code>session = [[EASession alloc] initWithAccessory:acc forProtocol:protocol];
  
          if (session){
              [[session inputStream] setDelegate:self];
              [[session inputStream] scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
              [[session inputStream] open];
  
              [[session outputStream] setDelegate:self];
              [[session outputStream] scheduleInRunLoop:[NSRunLoop currentRunLoop] forMode:NSDefaultRunLoopMode];
              [[session outputStream] open];
          }
  </code></pre>
  
  <p>Now I have a very dumb question, as most of my newbie questions are. How can I sent raw 1 byte pieces of data to the stream? Say, I want to send 0x06. How do I do that?</p>
  
  <p>And then...how do I read data from the stream? I will be sent back data to be processed byte by byte...the bytes will be numbers in the byte range (0x00 – 0xFF).</p>
  
  <p>Thank you for your patience and help!</p>