private void Init() { JSONNode miNode = JsonNode[ApiConstants.Message]; Subject = miNode[ApiConstants.Subject].Value; Sequence = miNode[ApiConstants.Seq].AsUlong; Time = JsonUtils.AsDate(miNode[ApiConstants.Time]); Data = JsonUtils.AsByteArrayFromBase64(miNode[ApiConstants.Data]); byte[] bytes = JsonUtils.AsByteArrayFromBase64(miNode[ApiConstants.Hdrs]); if (bytes != null) { Headers = new HeaderStatusReader(bytes, bytes.Length).Header; } }