Skip to content

deprecate String(::IOBuffer) #21438

Closed
Closed
@JeffBezanson

Description

@JeffBezanson

This constructor method does not seem to be necessary (left over from the bytestring function). It could be seekstart(b); readstring(b) or String(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?

Metadata

Metadata

Assignees

Labels

deprecationThis change introduces or involves a deprecationioInvolving the I/O subsystem: libuv, read, write, etc.strings"Strings!"

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions