Skip to content

Conversation

@nulltoken
Copy link
Member

Currently those methods return an out Stream. However, the underlying code expects it to be an UnmanagedMemoryStream.

Let's make this explicit through a change in the parameter type rather than silently failing.

@nulltoken
Copy link
Member Author

/cc @synhershko

@synhershko
Copy link

+1

Also if there could be a way to provide the low-level API with an existing stream or byte array so it can do the copy itself (or let me write directly to it, with no middle man) - all the better

@nulltoken
Copy link
Member Author

@synhershko Done! Also added a helper function to ease the building of the UnmanagedMemoryStream.

/cc @phkelley

@synhershko
Copy link

Awesome, thanks @nulltoken , I'll update and test as soon as its released to nuget

@phkelley
Copy link
Member

phkelley commented Jun 7, 2014

This looks great. Thanks @nulltoken.

@nulltoken nulltoken merged commit 5dcf507 into vNext Jun 7, 2014
@nulltoken nulltoken deleted the ntk/odbbackend_api branch June 7, 2014 15:40
@nulltoken nulltoken added this to the v0.19.0 milestone Jun 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants