Re: How can I get a byte[] from MySql BLOB
Posted by: Reggie Burnett
Date: December 21, 2004 10:24AM

int len = reader.GetBytes( col, 0, null, 0, 0 );
byte[] buf = new byte[len];
reader.GetBytes( col, 0, buf, 0, len );

-reggie

Options: ReplyQuote


Subject
Written By
Posted
Re: How can I get a byte[] from MySql BLOB
December 21, 2004 10:24AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.