You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently each element has various methods to convert a packet into ANSI, or HTML etc. This prevents feeding codepage information to the conversion process, because packets are not aware of each other. Instead, each Element should have one method to return it's displayable data as teletext bytes, and then the top level Packet object should handle conversion. This will avoid having to pass around a lot of state and reduce the amount of boilerplate code in the Elements.
Currently each element has various methods to convert a packet into ANSI, or HTML etc. This prevents feeding codepage information to the conversion process, because packets are not aware of each other. Instead, each Element should have one method to return it's displayable data as teletext bytes, and then the top level Packet object should handle conversion. This will avoid having to pass around a lot of state and reduce the amount of boilerplate code in the Elements.
Needed for #63
The text was updated successfully, but these errors were encountered: