ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » Does RfhUtil Write No Headers exist in the XMS API?

Post new topic  Reply to topic Goto page Previous  1, 2, 3
 Does RfhUtil Write No Headers exist in the XMS API? « View previous topic :: View next topic » 
Author Message
RogerLacroix
PostPosted: Wed May 04, 2022 12:52 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3252
Location: London, ON Canada

psychodelic_drumboy wrote:
I am very pleased to say that changing the file stream code to:

Code:
fsZipFile.Write(buffer, 0, buffer.Length - 1)


Has resolved the issue.

That sounds correct. You need to understand how a method is accessing the buffer. Some methods may access a buffer from 1 to 'x' whereas other methods will access a buffer from 0 to 'x-1'.

Do not assume that all methods will access the buffer the same way whether that is 1 to 'x' or 0 to 'x-1'. You should have the MSDN docs readily available to review the method you are using.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2, 3 Page 3 of 3

MQSeries.net Forum Index » IBM MQ API Support » Does RfhUtil Write No Headers exist in the XMS API?
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.