made getByteBodyContents public