Update 'Interfaces'

Sasha Koshka 2022-08-24 05:48:28 +00:00
parent 6a7b19769f
commit a2d2f2a027

15
Interfaces.md Normal file

@ -0,0 +1,15 @@
Interfaces in ARF are like interfaces in Go, that is to say, their methods are
defined and any object that has at least those methods can fulfill that
interface.
They are defined like this:
```
face ro ReadWriter
read
> into:{Byte ..}
< amountRead:Size
write
> buffer{Byte ..}
< amountWrote:Size
```