Hello, I may have not understood what you actually want to do, but aren't std.bitmanip.peek or std.bitmanip.read what you are looking for ?
http://dlang.org/phobos/std_bitmanip.html#.peek
Hello, I may have not understood what you actually want to do, but aren't std.bitmanip.peek or std.bitmanip.read what you are looking for ?
http://dlang.org/phobos/std_bitmanip.html#.peek