Ejemplo n.º 1
0
            static byte[]? ReadBytes(ICKBinaryReader r)
            {
                int l = r.ReadSmallInt32();

                if (l < 0)
                {
                    return(null);
                }
                return(r.ReadBytes(l));
            }
 internal SymmetricKey(ISystemClock clock, ICKBinaryReader r)
     : base(clock, r)
 {
     r.ReadByte();
     _key = r.ReadBytes(r.ReadNonNegativeSmallInt32());
 }