Update 'Interfaces'
parent
1530276ef5
commit
7a5413ede1
@ -5,11 +5,13 @@ interface.
|
||||
They are defined like this:
|
||||
|
||||
```
|
||||
face ro ReadWriter
|
||||
face ro ReadWriter:Face
|
||||
read
|
||||
> into:{Byte ..}
|
||||
< amountRead:Size
|
||||
write
|
||||
> buffer{Byte ..}
|
||||
< amountWrote:Size
|
||||
```
|
||||
```
|
||||
|
||||
Interfaces are able to inherit other interfaces using type notation. If an interface inherits nothing, it must inherit `Face`, which is a blank interface.
|
Reference in New Issue
Block a user