Ability to get buffer from inputmessage