mirror of
https://github.com/vlang/v.git
synced 2025-09-09 07:15:50 -04:00
parent
b0d39814be
commit
d5b9f7d026
@ -1,12 +1,12 @@
|
||||
module io
|
||||
|
||||
// Writer represents a stream of data that can be wrote to
|
||||
// Writer represents a stream of data that can be written to
|
||||
pub interface Writer {
|
||||
mut:
|
||||
write(buf []u8) !int
|
||||
}
|
||||
|
||||
// RandomWriter represents a stream of data that can be wrote to
|
||||
// RandomWriter represents a stream of data that can be written to
|
||||
// at a random pos
|
||||
pub interface RandomWriter {
|
||||
write_to(pos u64, buf []u8) !int
|
||||
|
Loading…
x
Reference in New Issue
Block a user