Utility on gadgets to abstract out application on bytesource without padding