GetLine handles line feed terminated buffers.