mirror of
https://github.com/tjboldt/Apple2-IO-RPi.git
synced 2024-05-28 09:41:30 +00:00
17 lines
301 B
Go
17 lines
301 B
Go
package a2io
|
|
|
|
type A2Io interface {
|
|
Init()
|
|
WriteByte(data byte) error
|
|
WriteString(outString string) error
|
|
WriteBlock(buffer []byte) error
|
|
WriteBuffer(buffer []byte) error
|
|
ReadByte() (byte, error)
|
|
ReadString() (string, error)
|
|
ReadBlock(buffer []byte) error
|
|
}
|
|
|
|
type A2Comm struct {
|
|
A2Io A2Io
|
|
}
|