Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

io.BufferedWriter #21975

Open
2 tasks
einar-hjortdal opened this issue Jul 31, 2024 · 2 comments
Open
2 tasks

io.BufferedWriter #21975

einar-hjortdal opened this issue Jul 31, 2024 · 2 comments
Labels
Feature/Enhancement Request This issue is made to request a feature or an enhancement to an existing one.

Comments

@einar-hjortdal
Copy link
Contributor

einar-hjortdal commented Jul 31, 2024

Describe the feature

A buffered writer.
Just like a BufferedReader it should come with a new_buffered_writer factory function. Additionally, a flush method should be provided.

Use Case

Many, stream ciphers for example.

Proposed Solution

No response

Other Information

I am surprised it isn't here yet.

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Version used

V 0.4.7 340535f

Environment details (OS name and version, etc.)

V full version: V 0.4.7 c2f7afd.340535f
OS: linux, Linux version 5.14.0-427.26.1.el9_4.x86_64 (mockbuild@pp-el9) (gcc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3), GNU ld version 2.35.2-43.el9) #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:28:16 CEST 2024
Processor: 8 cpus, 64bit, little endian, Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz

getwd: /home/coachonko/Documents/projects/vlang/v
vexe: /home/coachonko/.local/lib64/v/v
vexe mtime: 2024-07-31 14:53:27

vroot: OK, value: /home/coachonko/.local/lib64/v
VMODULES: OK, value: /home/coachonko/.vmodules
VTMP: OK, value: /tmp/v_1000

Git version: git version 2.43.5
Git vroot status: weekly.2024.31-13-g340535fe
.git/config present: true

CC version: cc (GCC) 11.4.1 20231218 (Red Hat 11.4.1-3)
thirdparty/tcc status: thirdparty-linux-amd64 a0799a5b

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

@einar-hjortdal einar-hjortdal added the Feature/Enhancement Request This issue is made to request a feature or an enhancement to an existing one. label Jul 31, 2024
einar-hjortdal pushed a commit to einar-hjortdal/firebird that referenced this issue Aug 1, 2024
@spytheman
Copy link
Member

Please do not close issues in advance, until a PR that addresses them is merged (after that they will get closed automatically, if they are mentioned in the PR description with Fix #XYZ).

@spytheman spytheman reopened this Sep 22, 2024
@einar-hjortdal
Copy link
Contributor Author

Please do not close issues in advance, until a PR that addresses them is merged (after that they will get closed automatically, if they are mentioned in the PR description with Fix #XYZ).

Alright. The previous one wasn't closed automatically after merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature/Enhancement Request This issue is made to request a feature or an enhancement to an existing one.
Projects
None yet
Development

No branches or pull requests

2 participants