| 273 | |
| 274 | |
| 275 | value byteDataByte(value byteData, value inIndex) |
| 276 | { |
| 277 | CffiBytes bytes = getByteData(byteData); |
| 278 | if (bytes.data==0) |
| 279 | return alloc_null(); |
| 280 | |
| 281 | return alloc_int(bytes.data[ val_int(inIndex) ]); |
| 282 | } |
| 283 | DEFINE_PRIM(byteDataByte, 2); |
| 284 | |
| 285 |
nothing calls this directly
no test coverage detected