|
1 | 1 | package msgs |
2 | 2 |
|
| 3 | +// Copyright (c) 2020 Micro Focus or one of its affiliates. |
| 4 | +// |
| 5 | +// Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | +// you may not use this file except in compliance with the License. |
| 7 | +// You may obtain a copy of the License at |
| 8 | +// |
| 9 | +// http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | +// |
| 11 | +// Unless required by applicable law or agreed to in writing, software |
| 12 | +// distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | +// See the License for the specific language governing permissions and |
| 15 | +// limitations under the License. |
| 16 | +// |
| 17 | +// Permission is hereby granted, free of charge, to any person obtaining a copy |
| 18 | +// of this software and associated documentation files (the "Software"), to deal |
| 19 | +// in the Software without restriction, including without limitation the rights |
| 20 | +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 21 | +// copies of the Software, and to permit persons to whom the Software is |
| 22 | +// furnished to do so, subject to the following conditions: |
| 23 | +// |
| 24 | +// The above copyright notice and this permission notice shall be included in |
| 25 | +// all copies or substantial portions of the Software. |
| 26 | +// |
| 27 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 28 | +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 29 | +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 30 | +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 31 | +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 32 | +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 33 | +// THE SOFTWARE. |
| 34 | + |
3 | 35 | import ( |
4 | 36 | "bytes" |
5 | 37 | "encoding/binary" |
|
0 commit comments