Thread: How do you create a BLOB?

Results 1 to 2 of 2

Threaded View

  1. #1
    func_vehicle enthusiaist w00tguy123's Avatar
    Join Date
    Dec 2006
    U.S. West

    How do you create a BLOB?

    I want to write a binary file, and it looks like the only way to do that is passing BLOBs to File::Write(). When I try to make one (BLOB blob;) I get "Data type can't be 'BLOB'".

    It looks like the only function in the API that gives me a BLOB is File::ReadBlob(), but I get null from that function.

    Edit: Not getting null anymore, but the read position is set to the end (ReadReachedEnd() == 1) so I can't actually read any data from it. There's no function to reset the read position.
    Last edited by w00tguy123; 02-08-2017 at 11:51 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts