class BinData::IO::Write

def seek_to_abs_offset(n)

Seek to an absolute offset within the io stream.
def seek_to_abs_offset(n)
  raise IOError, "stream is unseekable" unless @io.seekable?
  flushbits
  @io.seek_abs(n)
end