X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Futil%2Fbyte_utils.rs;fp=lightning%2Fsrc%2Futil%2Fbyte_utils.rs;h=8ae3649780634cd6a6b2c3243222cc9f40b1e782;hb=4395b92cc8bfe0cc803e70bba11f4db58d5d0dbf;hp=eae9f0572fca73c8e28bcd1f7c2c6b6dc66a77f4;hpb=093fcaba68ab9d96e4570d0a4d9bcbdecc03a67f;p=rust-lightning diff --git a/lightning/src/util/byte_utils.rs b/lightning/src/util/byte_utils.rs index eae9f057..8ae36497 100644 --- a/lightning/src/util/byte_utils.rs +++ b/lightning/src/util/byte_utils.rs @@ -1,3 +1,12 @@ +// This file is Copyright its original authors, visible in version control +// history. +// +// This file is licensed under the Apache License, Version 2.0 or the MIT license +// , at your option. +// You may not use this file except in accordance with one or both of these +// licenses. + #[inline] pub fn slice_to_be16(v: &[u8]) -> u16 { ((v[0] as u16) << 8*1) |