package Ġm ary k . core . properties . types Ċ Ċ import Ġm ary k . core . extensions . bytes . init Int Ċ import Ġm ary k . core . extensions . bytes . write Bytes Ċ Ċ type alias ĠDate Ġ= Ġm ary k . lib . time . Date Ċ Ċ internal Ġfun Ġm ary k . lib . time . Date . write Bytes ( writer : Ġ( byte : ĠByte ) Ġ-> ĠUnit ) Ġ{ ĊĠĠĠ Ġthis . epoch Day . write Bytes ( writer ) Ċ } Ċ Ċ /** ĠReads Ġa Ġdate Ġfrom Ġbytes Ġ[ reader ] Ġ*/ Ċ internal Ġfun Ġm ary k . lib . time . Date . Companion . from Byte Reader ( reader : Ġ() Ġ-> ĠByte ) Ġ= Ġof Epoch Day ( ĊĠĠĠ Ġinit Int ( reader ) Ċ ) Ċ