Sha256: 5bbe2ad303641e69a4e8a57c012a8c8ac94b5d50fba534ba55ab33ffeb641725

Contents?: true

Size: 718 Bytes

Versions: 3

Compression:

Stored size: 718 Bytes

Contents

# encoding: ascii-8bit

# Copyright 2023 OpenC3, Inc.
# All Rights Reserved.
#
# Licensed for Evaluation and Educational Use
#
# This file may only be used commercially under the terms of a commercial license
# purchased from OpenC3, Inc.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# The development of this software was funded in-whole or in-part by MethaneSAT LLC.

class CfdpNullChecksum
  def add(offset, data)
    return 0
  end

  def checksum(file, full_checksum_needed)
    return 0
  end

  def check(file, other_checkum, full_checksum_needed)
    true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openc3-cosmos-cfdp-1.0.2 microservices/CFDP/app/models/cfdp_null_checksum.rb
openc3-cosmos-cfdp-1.0.1 microservices/CFDP/app/models/cfdp_null_checksum.rb
openc3-cosmos-cfdp-1.0.0 microservices/CFDP/app/models/cfdp_null_checksum.rb