code: func (b *IOPinDriver) ReadAllPinData() (pins []PinData) {
  	c, _ := b.adaptor().ReadCharacteristic(pinDataCharacteristic)
  	buf := bytes.NewBuffer(c)
  	pinsData := make([]PinData, buf.Len()/2)
  
  	for i := 0; i < buf.Len()/2; i++ {
  		pinData := PinData{}
  		pinData.pin, _ = buf.ReadByte()
  		pinData.value, _ = buf.ReadByte()
  		pinsData[i] = pinData
  	}
  
  	return pinsData
  }
docs: // ReadAllPinData reads and returns the pin data for all pins