Branch: Tag:

2015-03-30

2015-03-30 21:30:19 by Martin Nilsson <nilsson@opera.com>

Use Buffer objects instead of strings for handle_handshake API.

23:      //! Create a new buffer, optionally initialized with the   //! value @[s]. - protected void create(void|string(8bit) s) + protected void create(void|string(8bit)|Stdio.Buffer s)   { -  if( s && strlen(s) ) +  if( s )    ::create(s); -  else -  ::create(); +     set_error_mode(.BufferError);   }