io: Add LimitedDataInput class to limit reading off the end of a block
io: Add LimitedDataInput class to limit reading off the end of a block

This can be used to detect reading past the size of an input element
such as an attribute in a class file.

Signed-off-by: BJ Hargrave <3d26bb3930946e3370762d769a073cece444c2d8@bjhargrave.com>

psoreide/bnd,psoreide/bnd,psoreide/bnd