Method: Fisk::Helpers::JITBuffer#putc
- Defined in:
- lib/fisk/helpers.rb
#putc(byte) ⇒ Object
60 61 62 63 64 |
# File 'lib/fisk/helpers.rb', line 60 def putc byte raise "Buffer full! #{pos} - #{@size}" if pos >= @size @memory[@pos] = byte @pos += 1 end |