Byte arrays The byte array may be a string or a Array depending on implementation
| 557 | // Byte arrays |
| 558 | // The byte array may be a string or a Array<bytes> depending on implementation |
| 559 | buffer val_to_buffer(hx::Object * arg1) |
| 560 | { |
| 561 | ByteArray b = dynamic_cast< ByteArray >(arg1); |
| 562 | return (buffer)b; |
| 563 | } |
| 564 | |
| 565 | bool val_is_buffer(value inVal) { return val_to_buffer((hx::Object *)inVal)!=0; } |
| 566 |
no outgoing calls
no test coverage detected