aboutsummaryrefslogtreecommitdiffstats
path: root/compression/rle
diff options
context:
space:
mode:
Diffstat (limited to 'compression/rle')
-rw-r--r--compression/rle/read_write.go17
-rw-r--r--compression/rle/read_write_test.go16
2 files changed, 33 insertions, 0 deletions
diff --git a/compression/rle/read_write.go b/compression/rle/read_write.go
index dde0e41ab..be5d1fbcc 100644
--- a/compression/rle/read_write.go
+++ b/compression/rle/read_write.go
@@ -1,3 +1,20 @@
+// Copyright 2014 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum 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. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
+// Package rle implements the run-length encoding used for Ethereum data.
package rle
import (
diff --git a/compression/rle/read_write_test.go b/compression/rle/read_write_test.go
index e6aac9093..1ddaa5ffe 100644
--- a/compression/rle/read_write_test.go
+++ b/compression/rle/read_write_test.go
@@ -1,3 +1,19 @@
+// Copyright 2014 The go-ethereum Authors
+// This file is part of go-ethereum.
+//
+// go-ethereum is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Lesser General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// go-ethereum 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. See the
+// GNU Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public License
+// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
+
package rle
import (