Size of message received by .z.pg/.z.ps

https://learninghub.kx.com/forums/topic/size-of-message-received-by-z-pg-z-ps

Hi,

 

Wondering if there was any way to get the size of the message that was sent to .z.pg/.z.ps aside from re-serializing with -8!

 

Having to re-serialize would be very costly for larger messages, so it’d be nice if there was a variable like .z.u or .z.a that could just be accessed.

Ah, nm. Thought about it a bit more and realized Q would just be running -22! to do a count since the on-the-wire size would be compressed anyway.