Move datagram one level up

This commit is contained in:
Mark Spanbroek 2020-10-28 13:41:32 +01:00 committed by markspanbroek
parent e03ba54b00
commit d390d3660f
6 changed files with 9 additions and 9 deletions

View File

@ -1,11 +1,11 @@
import packets/datagram
import packets/packet
import packets/length
import packets/read
import packets/write
export datagram
import datagram
export packet
export length
export datagram
include noerrors
proc read(reader: var PacketReader, datagram: Datagram): Packet =

View File

@ -1,7 +1,7 @@
import stew/endians2
import ../bits
import ../varints
import datagram
import ../datagram
import packet
import reader
export reader

View File

@ -1,5 +1,5 @@
import ../datagram
import packet
import datagram
type
PacketReader* = object

View File

@ -1,10 +1,10 @@
import stew/endians2
import datagram
import ../datagram
import ../bits
import ../varints
import packet
import packetnumber
import writer
import ../bits
import ../varints
export writer
proc writeForm*(writer: var PacketWriter, datagram: var Datagram) =

View File

@ -1,6 +1,6 @@
import packet
import datagram
import ../datagram
import ../openarray
import packet
type
PacketWriter* = object