tjanczuk/edge — pull request #69 by bbaia (2013-07-29 23:26:42+00:00)
Title: Fix marshalling of empty byte[]/Buffer

Empty arrays can't be pinned:

```cpp
cli::array^ buffer = (cli::array^)netdata;
pin_ptr pinnedBuffer = &buffer[0]; // throw IndexOutOfRangeException
```

```cpp
cli::array^ netbuffer = gcnew cli::array((int)node::Buffer::Length(jsbuffer));
pin_ptr pinnedNetbuffer = &netbuffer[0]; // throw IndexOutOfRangeException
```