-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
deprecate String(::IOBuffer) #21438
Copy link
Copy link
Closed
Labels
deprecationThis change introduces or involves a deprecationThis change introduces or involves a deprecationioInvolving the I/O subsystem: libuv, read, write, etc.Involving the I/O subsystem: libuv, read, write, etc.strings"Strings!""Strings!"
Milestone
Metadata
Metadata
Assignees
Labels
deprecationThis change introduces or involves a deprecationThis change introduces or involves a deprecationioInvolving the I/O subsystem: libuv, read, write, etc.Involving the I/O subsystem: libuv, read, write, etc.strings"Strings!""Strings!"
This constructor method does not seem to be necessary (left over from the
bytestringfunction). It could beseekstart(b); readstring(b)orString(take!(b)).Actually,
String(::IOBuffer)is a bit of a strange function since it gives you a copy of the data in the buffer without affecting the stream state in any way. Does anybody use this?